I have many protein IDs, I want to know whether there is a way to extract only the first line of the Fasta file?
For example, for this protein Q02248
I want to extract the following
sp|Q02248|CTNB1_MOUSE Catenin beta-1 OS=Mus musculus GN=Ctnnb1 PE=1 SV=1
This is easy if I want to do for few, but when it comes to many, then it is hard
Questions like this have been asked many times on Biostars. Have you searched for solutions?
What do you do for a few, that makes it easy?
@st.ph.n I did search and I could not find a solution. one by one i go to UniProt and get the Seq and download it. But if I want to do for many, it will be very time consuming. even if you have a solution to download with their sequence, It will be acceptable
if you have fasta file with multiple uniprot sequences:
input.fa is input fasta