This is a test version of Biostars. For the public version, visit https://www.biostars.org.
removal of gi numbers from msa file

hello guys , i need some help, i have this msa file containing 1570 seqs i need to remove the gi numbers and retain the accession numbers please help:below is asample

gi|8393762|ref|np_058552.1|/1-782 mtsiiklttlsgvqeesalcyllqvdefrflldcgwdehfsvdiidslrkhvhqidavll gi|685228433|gb|aio05253.1|/1-482 gvwsgmvgtslsmliraelshpgmfigndqiynvivtahafimiffmvmpimiggfgnwl gi|685228539|gb|aio05306.1|/1-482 gvwsgmvgtslsmliraelshpgkfigndqiynvivtahafimiffmvmpimiggfgnwl

thanks willingtone

alignment

Your capslock button can be found under the tab button and above the left shift.

1 answer

HOW ABOUT

cut -f4- -d "|" inputFile > outputFile

Log in to answer this question.