This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Aligning fasta files

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

Try to use an aligner, bwa for instance.

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

OP wants bam file.

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

Suggesting an alternative.

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

0 answers

No answers yet.

Log in to answer this question.