Aligning fasta files
0
0
Entering edit mode
5.0 years ago
bioz ▴ 20

Hello stars, I have two fasta files, one is from Sanger sequencing machine out put and other is reference file. I want to align these fasta files and need out put in SAM/BAM format. Any idea, solution ?

next-gen sequence gene assembly • 3.8k views
ADD COMMENT
1
Entering edit mode

Try to use an aligner, bwa for instance.

ADD REPLY
1
Entering edit mode

Sounds like a bit of an overkill for a single fasta sequence. Why not a pairwise alignment with EMBOSS-Needle?

ADD REPLY
1
Entering edit mode

OP wants bam file.

ADD REPLY
0
Entering edit mode

Sounds like a bit of an overkill for a single fasta sequence

Suggesting an alternative.

ADD REPLY
1
Entering edit mode

You can use bbmap.sh from BBMap suite. Something like this:

bbmap.sh -Xmx10g in=sanger.fa  ref=ref.fa out=align.sam

if you have samtools available in your $PATH then you can directly output a BAM file.

bbmap.sh -Xmx10g in=sanger.fa  ref=ref.fa out=align.bam
ADD REPLY

Login before adding your answer.

Traffic: 3030 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