Question: How to download metadata from the SRA?
0
gravatar for jaynaythan
7 months ago by
jaynaythan10
jaynaythan10 wrote:

Hi,

I am trying to download the accompanying metadata to a list of SRA runs.

I would specifically like this type of data: https://www.ncbi.nlm.nih.gov/Traces/study/?acc=SRR5070677&go=go

which includes place of isolation and date of isolation and other such good metadata.

Following the advice on the sra website: https://www.ncbi.nlm.nih.gov/books/NBK242621/#_SRA_Download_Guid_BK_Downloading_metadat_

does not get this type of data.

However i cannot figure out how to do this. Even teh runinfo document on this web page does nto provide all the information contained in this table.

Could anyone point me in the right direction?

metdata sra ncbi • 489 views
ADD COMMENTlink modified 7 months ago • written 7 months ago by jaynaythan10
2
gravatar for James Ashmore
7 months ago by
James Ashmore2.3k
UK/Edinburgh/MRC Centre for Regenerative Medicine
James Ashmore2.3k wrote:

You can access all sorts of metadata from the NCBI databases using their E-utilities software. In your case, try this command:

esearch -db sra -query SRR5070677 | efetch -format runinfo

This will fetch all the associated run information for your run accession. If you want to do a bulk download of metadata for all runs in the same project, then instead use the bioproject accession:

esearch -db sra -query PRJNA279196 | efetch -format runinfo
ADD COMMENTlink modified 7 months ago • written 7 months ago by James Ashmore2.3k

Hi James

What version of E utilities are you using?

I am using 2.1 and this does not work for me.I am looking into why this might be!

ADD REPLYlink written 7 months ago by jaynaythan10

For example, i cannot also get this command to work, form the examples page: esearch -db pubmed -query "lycopene cyclase" | efetch -format abstract

https://www.ncbi.nlm.nih.gov/books/NBK179288/

ADD REPLYlink written 7 months ago by jaynaythan10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 939 users visited in the last hour
https://www.biostars.org/p/260190/
www.biostars.org
crawl=CC-MAIN-2018-09
31261
application/http; msgtype=response
sha1:RFQXJRIBIECQITLRO5JPRGEUG7XYOY6G
<urn:uuid:299cc3b3-2b2d-4fd3-92cf-4a1091209876>
2018-02-20T07:45:25Z
69.164.220.180
text/html
sha1:YUAW7XRDXNYFD3NEI6XGXMEUCWRQQMUR
<urn:uuid:65e90574-13ca-494a-b975-99d822448b95>
https://www.biostars.org/p/260190/
length
response
<urn:uuid:d9ec19f0-b9e7-4fea-b023-ef135add1c4c>
robots: classic
hostname: ip-10-141-7-146.ec2.internal
software: Nutch 1.6 (CC)
isPartOf: CC-MAIN-2018-09
operator: Common Crawl Admin
description: Wide crawl of the web for February 2018
publisher: Common Crawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf