Question: How to create a Fasta file using info from a Excel file
0
gravatar for 2822462298
5 weeks ago by
282246229850
282246229850 wrote:

I have an excel file which looks like this:

Genex AAAAA
Geney TTTTT
Genez GGGGG

How to convert it into a fasta file like:

>Genex
AAAAA
>Geney
TTTTT
>Genez
GGGGG
rna-seq rna fasta • 92 views
ADD COMMENTlink modified 5 weeks ago by Mensur Dlakic4.1k • written 5 weeks ago by 282246229850

What have you tried so far? Please do not expect ready made answers.

ADD REPLYlink written 5 weeks ago by lakhujanivijay4.8k
1
gravatar for Mensur Dlakic
5 weeks ago by
Mensur Dlakic4.1k
USA
Mensur Dlakic4.1k wrote:

Save your Excel file as comma-delimited, say sequences.csv.

awk -F , '{print ">"$1"\n"$2}' sequences.csv > sequences.fas
ADD COMMENTlink written 5 weeks ago by Mensur Dlakic4.1k
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: 1062 users visited in the last hour