Question: BAM/SAM to aligned FASTA file
0
gravatar for ryan.englander
3.0 years ago by
ryan.englander0 wrote:

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!

alignment snp bam assembly fasta • 1.7k views
ADD COMMENTlink modified 3.0 years ago by Tonor420 • written 3.0 years ago by ryan.englander0
0
gravatar for Tonor
3.0 years ago by
Tonor420
UK
Tonor420 wrote:

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 COMMENTlink modified 3.0 years ago • written 3.0 years ago by Tonor420
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1151 users visited in the last hour