Question: Multiple alignment format (MAF) to VCF
gravatar for ksw
3.0 years ago by
United States
ksw40 wrote:

Hi, I am wondering the best way to convert a Multiple Alignment Format file (MAF) generated with Mugsy ( into a VCF format for downstream analysis?

I have looked through past posts and haven't found an answer. It seems that there was an earlier branch of Biopython which could do this but I don't think it is being updated.

If anyone has suggestions, that would be incredible! Thank you!

ADD COMMENTlink modified 2.8 years ago by Biostar ♦♦ 20 • written 3.0 years ago by ksw40

Did the past posts include this one: converting maf to vcf There is a script linked in that post that is still available to try.

ADD REPLYlink written 3.0 years ago by genomax65k

Thanks for your reply. Yes, I looked at the script you posted--it converts files in Mutation Annotation Format (another MAF file, specific to cancer genotyping, I think) to VCF format. The MAF format I am struggling with is Multiple Alignment Format.

ADD REPLYlink written 3.0 years ago by ksw40

A different MAF. What does you file look like (can you show a few lines)? Perhaps this may help: Getting A Vcf File From A Fasta Alignment

ADD REPLYlink written 3.0 years ago by genomax65k

Thanks, I'll look into the script you posted. The first lines of the MAF:


ADD REPLYlink modified 3.0 years ago • written 3.0 years ago by ksw40

To update this thread: my issue was that I have called variants using short read data (i.e. generating BAM, then VCF files with respect to a reference genome). I am now interested in including outgroup (FASTA) sequences and need to call variants between the outgroups and the FASTA reference genome. The following tool takes a multiple FASTA alignment (for me, my reference genome and outgroup genomes) and can generate a VCF file:


Thanks for your help!

ADD REPLYlink written 3.0 years ago by ksw40
Please log in to add an answer.


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