BAM/SAM to aligned FASTA file
1
0
Entering edit mode
7.4 years ago

Hi,

I have a reference genome and reads from a cancer cell line aligned to that reference in a BAM and SAM file. I need to convert the BAM file into a FASTA file where the cancer consensus sequence is aligned to the reference genome so I can identify . Other threads on BioStars addressing this question explain how to generate FASTQ and FASTA files based off the BAM file, but don't explain how to align those sequences to the reference. Thanks so much in advance!

BAM Assembly alignment FASTA SNP • 2.9k views
ADD COMMENT
0
Entering edit mode
7.4 years ago
Tonor ▴ 480

To align your consensus sequence to your reference sequence you will need to use an alignment tool to create a multiple sequence alignment, such as:

MAFFT, MEGA, CLUSTAL, and loads of others

These tools don't care that one is a consensus, and one is reference, it just aligns all the sequences you give it together

ADD COMMENT

Login before adding your answer.

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