This is a test version of Biostars. For the public version, visit https://www.biostars.org.
header shorten

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

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

1 answer

Please suggest me a way to do that.

cut

Log in to answer this question.