Hi,
I am looking to download metadata from the SRA.
I downloaded E-utilities following these instructions
https://www.ncbi.nlm.nih.gov/books/NBK179288/
However, i cannot get E-fetch to work.
I have a feeling i am using a differetn version of E-fethc to others. here is the 'help' page from my E-fetch
EFETCH - retrieve entries from sequence databases.
Synopsis: efetch -options [database:]<query>
Databases: SWissprot/SP, PIR, WOrmpep/WP, EMbl, GEnbank/GB, ProDom, ProSite
Options:
-a Search with Accession number
-f Fasta format output
-q Sequence only output (one line)
-s <#> Start at position #
-e <#> Stop at position #
-o More options and info...
-D <dir> Specify database directory
-H Display index header data
-p Display entrynames in search path
-r Print sequence in 'raw' format
-m Fetch from mixed mini database
-M Mini format output
-b Do NOT reverse the order of bytes
(SunOS, IRIX do reverse, Alpha not)
-d <dbfile> Specify database file (avoid this)
-i <idxfile> Specify index file (avoid this)
-l <divfile> Specify division lookup table (avoid this)
-B <database> Specify database (archaic)
-A Only return entryname for accession number
-n <name> Give the sequence this name
-x Don't require query to match entry's name exactly (avoid)
-w For Wormpep: also fetch cross-referenced SwissProt entry
-h shows this help text
Environment: SWDIR = SwissProt directory - database and EMBL index files PIRDIR = PIR -- " -- WORMDIR = Wormpep
-- " -- EMBLDIR = EMBL -- " -- GBDIR = Genbank -- " -- PRODOMDIR = ProDom -- " -- PROSITEDIR = ProSite -- "
-- DBDIR = User's own -- " -- (fasta format)
SEQDB database file (default SwissProt) SEQDBIDX index file DIVTABL division lookup table
Ex. setenv DBDIR /pubseq/seqlibs/embl/
Note that Prodom family consensus seqs can be fetched by PD:_#
by Erik Sonnhammer (esr@sanger.ac.uk) Version 2.1,
There is no mention of the command -format which appears in commands online. for example these do not work for me.
esearch -db pubmed -query "lycopene cyclase" |efetch -format abstract
esearch -db sra -query SRR5070677 | efetch -format runinfo
the efetch fails but esearch works fine.
Could anyone help me out?
I am getting the exact same issue. I installed the EDirect by following the steps given in the manual in NCBI. My version is " Version 2.1, Dec 13 2015". Is there a latest file which can be downloaded ?