How to extract Isolation source Attributes from Biosample db using NCBI eutils
1
1
Entering edit mode
4.4 years ago
Prasad ▴ 50

Hello,

I am trying extract Isolation source attributes from ncbi Biosample database using ncbi eutils. I used following command but it's not returning empty

esearch -db biosample -query "SAMN02850961" | efetch -format xml | xtract -pattern BioSampleSet -element Attributes display_source

Please let me know what I am doing wrong.

Thanks in Advance.

eutils ncbi • 1.5k views
ADD COMMENT
3
Entering edit mode
4.4 years ago
GenoMax 148k
$ esearch -db biosample -query "SAMN02850961" | efetch -format xml | xtract -pattern BioSampleSet -element Attribute
DNF00037    missing missing HMP2129 Corynebacterium tuscaniense DNF00037    vagina  Homo sapiens    missing

or

$ esearch -db biosample -query "SAMN02850961" | efetch -format native | grep isolation
    /isolation source="vagina"
ADD COMMENT

Login before adding your answer.

Traffic: 1102 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