I have a text file that contains a list of IDs (314 sequences):
AVP78031.1 AVP78042.1 ATO98108.1 ATO98120.1 ATO98132.1 ...
My goal is to make a script (maybe using Python or Perl) to check in the list if all the IDs are nucleotide or protein sequences. For example:
AVP78031.1 -> protein (this is a nucleotide sequence, I change nucleotide for protein to show an example). AVP78042.1 -> nucleotide ATO98108.1 -> nucleotide ATO98120.1 -> nucleotide ATO98132.1 -> nucleotide
Any idea to do a script?