Off topic:Changing Fasta Header
2
0
Entering edit mode
7.8 years ago
wanziyi89 ▴ 60

Dear Colleagues,

I would like to change my FASTA file header from this :

oreNil2_augustusGene_g25.t1 range=chrLG1:1047971-1161345 5'pad=0 3'pad=0 strand=+ repeatMasking=none

to this :

oreNil2_augustusGene_g25.t1

Basically removing all the lines after the space.

I know we can do this with sed or awk but my knowledge with this two commands are elementary at best. Any help here will be awesome!

regards,

Zi Yi

fasta header awk sed • 1.5k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2335 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6