Hi every one,
there are a lot lines in a fasta file as follows:
>gi|319965812|ref|NW_003378297.1|Apis mellifera strain DH4 unplaced genomic scaffold, Amel_4.5 GroupUn22, whole genome shotgun sequence
I just want to keep ">" and "GroupUn??", and delete other in each line of them, so that It should be like the following.
>GroupUn22
Any one could help me?
Thanks a lot!!
Richard
there are a lot lines in a fasta file as follows:
>gi|319965812|ref|NW_003378297.1|Apis mellifera strain DH4 unplaced genomic scaffold, Amel_4.5 GroupUn22, whole genome shotgun sequence
I just want to keep ">" and "GroupUn??", and delete other in each line of them, so that It should be like the following.
>GroupUn22
Any one could help me?
Thanks a lot!!
Richard
Comment