Question: Converting Multiple Files From Mega To Fasta In Mega 5.05
0
gravatar for cmharro
7.6 years ago by
cmharro0
cmharro0 wrote:

MEGA 5.05 is the first bio informatics software I have used and I am having trouble opening multiple zip files to analyze in FASTA format. So far I have been told that I have to (in Microsoft word) manually convert files from MEGA to FASTA, then copy and paste them in a new alignment file for seven loci for each sample I am analyzing. The problem is there are about 560 files I would have to do this with. If anyone has a better way that I can bring up multiple files without having to convert them from MEGA to FASTA format one by one this would save me a lot of time. Thank you!

fasta • 4.7k views
ADD COMMENTlink modified 7.6 years ago by Whetting1.5k • written 7.6 years ago by cmharro0
0
gravatar for Whetting
7.6 years ago by
Whetting1.5k
Bethesda, MD
Whetting1.5k wrote:

Hi,
This should be really easy to write some code for.
Let me know if you are interested and I could help you out
If I understand correctly you want to:

open file 1  
convert mega to fasta (i.e. replace # with >)
close file 1
open file 2
...

do you want to combine the contents of the files as you go along?

ADD COMMENTlink written 7.6 years ago by Whetting1.5k
0
gravatar for Whetting
7.6 years ago by
Whetting1.5k
Bethesda, MD
Whetting1.5k wrote:

also, check http://en.bio-soft.net/geshi/DataConvert.html
looks like it should be able to help you out!

ADD COMMENTlink written 7.6 years ago by Whetting1.5k
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: 1925 users visited in the last hour