Question: Get phylum name from species name
gravatar for IsmailM
3.4 years ago by
UK/London/University College London
IsmailM90 wrote:


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,


sequencing genome • 1.2k views
ADD COMMENTlink modified 3.4 years ago by Neilfws48k • written 3.4 years ago by IsmailM90

Obtain full taxonomic hierarchy from multiple species names

ADD REPLYlink written 3.4 years ago by piet1.6k
gravatar for Neilfws
3.4 years ago by
Sydney, Australia
Neilfws48k wrote:

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


ADD COMMENTlink written 3.4 years ago by Neilfws48k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1196 users visited in the last hour