This is a test version of Biostars. For the public version, visit https://www.biostars.org.
converting to MAF or clustal format

Dear all,

Do you know any way to convert fasta or fatsq or tabulat to maf or clustal format. I want these formats for RNAcode. I checked already all the possibilities from Galexy and biopython but none of them worked. Many thanks in advance, Kind regards, Rahel

maf fasta fastq

Don't know for fastq but t_coffee provides a build in format reconversion utility. it can convert fasta_aln to clustal_aln. You can check this here

1 answer

There is in BioPython you can find it here

http://biopython.org/wiki/Multiple_Alignment_Format

with it you can read/write MAF file so in your case the input will be your alignment then you can write the output as MAF

also from fasta to clustal you can use

http://sequenceconversion.bugaco.com/converter/biology/sequences/fasta_to_clustal.php

or

from Bio.Align.Applications import ClustalwCommandline
ClustalwCommandline("clustalw", infile="your_file.fasta", outfile="output.aln")

Many thanks for your help, it works ...

Log in to answer this question.