Contig alignment software
3
2
Entering edit mode
9.1 years ago
bpz ▴ 60

Hello

I am in need of some help again.

I have a set of contigs (in a multifasta file), and I need to align them against several references. So I need to obtain a MSA where one of the species/sequences is the contig sequences and the rest are the references (genomes). I tried MUGSY, but for some reason is not aligning part of the sequences. MUMmer has been suggested, any ideas? , other software that can be useful?

Thanks in advance.

msa mummer • 7.9k views
ADD COMMENT
1
Entering edit mode

Maybe Mauve?

ADD REPLY
3
Entering edit mode
9.1 years ago
piet ★ 1.9k

I often use 'bwa mem' to align a set of contigs to a reference genome. 'bwa' is able to read its input either from FASTQ or from FASTA files. Thus you can simply feed a set of contigs into 'bwa' instead of a set of sequencing reads:

bwa mem reference.fasta contigs.fasta > output.sam
If your contigs are spread over several files, you can pipe them into 'bwa' (the trailing '-' causes 'bwa' to read from stdin):
cat contig*.fasta | bwa mem reference.fasta - > output.sam
Note, that 'bwa mem' does a local alignment, it only aligns the best matching parts of your contigs while the remainder is clipped off. Technically, it is also possible to put several reference genomes into 'reference.fasta', thus aligning the contigs to several reference genomes in one run. But since it is a local alignment, the result will most likely be very confusing.
ADD COMMENT
2
Entering edit mode
9.1 years ago
bpz ▴ 60

Hi again. I have used QUAST to analyze my contigs against a reference, and one of the results is an image (svg) of the alignment of my contigs and the reference. Does anyone knows if I can retrieve such alignment in a fasta format? Thanks a lot.

ADD COMMENT
1
Entering edit mode
9.1 years ago
bpz ▴ 60

Thanks, I've been trying your suggestions, with no success.

Does anyone knows if MITObim can be used with contigs? (align contigs to a reference genome), or only reads in fastq can be used?

Thanks

ADD COMMENT

Login before adding your answer.

Traffic: 1984 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6