Get phylum name from species name
Hi,
I have a list of 250 species name for which I want to get the phylum that each species belongs to...
I was wondering if there was a program or a way to use NCBI taxonomy browser to automate this.
Many thanks,
IsmailM
• 3,319 views
•
link
1 answer
To expand on the comment from piet, that link points to a previous post in which one answer uses Entrez Direct. Example usage for your case:
esearch -db taxonomy -query "Homo sapiens[Scientific Name]" | efetch -format xml | xtract -pattern Taxon -element ScientificName,Rank -tab "\n" | grep -P ';\tphylum'
Chordata phylum
• 1 views
•
link
Log in to answer this question.
Obtain full taxonomic hierarchy from multiple species names