Removing last characters of sequence names in a FASTA
1
0
Entering edit mode
3.7 years ago

Hello everyone. I have a FASTA file with the CDS of an organism such as:

>FvH4_1g00330.1
ATTTGGA...
>FvH4_1g00340.1
...

How could I remove that ".1" at the end of every name? Thanks in advance.

FASTA • 896 views
ADD COMMENT
3
Entering edit mode
3.7 years ago
GenoMax 123k

Try this:

cut -d "." -f1 your_file > new_file
ADD COMMENT
0
Entering edit mode

It worked. Thank you so much!

ADD REPLY

Login before adding your answer.

Traffic: 2767 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