header shorten
1
1
Entering edit mode
19 months ago

Hi, I need a short header for this one like ">IMGVR_UViG_2049941000_000058|2049941000"

>IMGVR_UViG_2049941000_000058|2049941000|900MB_Assembly_NODE_1040084_len_12349_cov_10_692930
aaattt.............

Please suggest me a way to do that.

Thanks

command linux • 650 views
ADD COMMENT
1
Entering edit mode

how about all your previous questions ? grep sequence ; Download pfam sequence ; grep things and counting line number in R ; ... etc .... tc... Please accept the answers so the questions are marked solved on the website. To do that, click on the green check mark on the left side of the answer.

ADD REPLY
1
Entering edit mode

Pierre is right. You can use cut with the -d and -f options. I found the following link to be very helpful in learning how to use cut:

Cut Command in Linux

ADD REPLY
1
Entering edit mode
19 months ago

Please suggest me a way to do that.

cut

ADD COMMENT

Login before adding your answer.

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