Get phylum name from species name
1
0
Entering edit mode
8.4 years ago
IsmailM ▴ 110

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

genome sequencing • 2.6k views
ADD COMMENT
2
Entering edit mode
ADD REPLY
2
Entering edit mode
8.4 years ago
Neilfws 49k

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 COMMENT

Login before adding your answer.

Traffic: 2807 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6