1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
|
drget
Wiki
The master copies of EMBOSS documentation are available at
http://emboss.open-bio.org/wiki/Appdocs on the EMBOSS Wiki.
Please help by correcting and extending the Wiki pages.
Function
Get data resource entries
Description
Searches a database of data resources and returns matching entries.
Usage
Here is a sample session with drget
% drget drcat:uniprot
Get data resource entries
Data resource output file [uniprot.drcat]:
Go to the input files for this example
Go to the output files for this example
Command line arguments
Get data resource entries
Version: EMBOSS:6.6.0.0
Standard (Mandatory) qualifiers:
[-resources] resource Data resource filename and optional format,
or reference (input query)
[-outfile] outresource [*.drget] Output data resource file name
Additional (Optional) qualifiers: (none)
Advanced (Unprompted) qualifiers: (none)
Associated qualifiers:
"-resources" associated qualifiers
-iformat1 string Input resource format
-iquery1 string Input query fields or ID list
-ioffset1 integer Input start position offset
-idbname1 string User-provided database name
"-outfile" associated qualifiers
-odirectory2 string Output directory
-oformat2 string Data resource output format
General qualifiers:
-auto boolean Turn off prompts
-stdout boolean Write first file to standard output
-filter boolean Read first file from standard input, write
first file to standard output
-options boolean Prompt for standard and additional values
-debug boolean Write debug output to program.dbg
-verbose boolean Report some/full command line options
-help boolean Report command line options and exit. More
information on associated and general
qualifiers can be found with -help -verbose
-warning boolean Report warnings
-error boolean Report errors
-fatal boolean Report fatal errors
-die boolean Report dying program messages
-version boolean Report version number and exit
Input file format
drget reads any data resource query.
Input files for usage example
Database entry: drcat:uniprot
ID UniProt
IDalt UniProtKB
Name Universal protein resource
Desc A comprehensive, high-quality and freely accessible resource of protein
sequence and functional information.
URL http://www.uniprot.org/
Taxon 1 | all
EDAMtpc 0639 | Protein sequence analysis
EDAMdat 2201 | Sequence record full
EDAMid 3021 | UniProt accession
EDAMfmt 1929 | FASTA format
EDAMfmt 2376 | RDF
EDAMfmt 2188 | uniprot
EDAMfmt 2331 | HTML
EDAMfmt 2332 | XML
Xref SP_FT | None
Query Sequence record full | HTML | UniProt accession | http://www.uniprot.or
g/uniprot/%s
Query Sequence record full | uniprot | UniProt accession | http://www.uniprot
.org/uniprot/%s.txt
Query Sequence record full | XML | UniProt accession | http://www.uniprot.org
/uniprot/%s.xml
Query Sequence record full | RDF | UniProt accession | http://www.uniprot.org
/uniprot/%s.rdf
Query Sequence record full | FASTA format | UniProt accession | http://www.un
iprot.org/uniprot/%s.fasta
Example UniProt accession | P12345
Output file format
The output is a standard EMBOSS resource file.
The results can be output in one of several styles by using the
command-line qualifier -oformat xxx, where 'xxx' is replaced by the
name of the required format. The available format names are: drcat,
basic, wsbasic, list.
See: http://emboss.sf.net/docs/themes/ResourceFormats.html for further
information on resource formats.
Output files for usage example
File: uniprot.drcat
ID UniProt
IDalt UniProtKB
Name Universal protein resource
Desc A comprehensive, high-quality and freely accessible resource of protein
sequence and functional information.
URL http://www.uniprot.org/
Taxon 1 | all
EDAMtpc 0639 | Protein sequence analysis
EDAMdat 2201 | Sequence record full
EDAMid 3021 | UniProt accession
EDAMfmt 1929 | FASTA format
EDAMfmt 2376 | RDF
EDAMfmt 2188 | uniprot
EDAMfmt 2331 | HTML
EDAMfmt 2332 | XML
Xref SP_FT | None
Query Sequence record full | HTML | UniProt accession | http://www.uniprot.or
g/uniprot/%s
Query Sequence record full | uniprot | UniProt accession | http://www.uniprot
.org/uniprot/%s.txt
Query Sequence record full | XML | UniProt accession | http://www.uniprot.org
/uniprot/%s.xml
Query Sequence record full | RDF | UniProt accession | http://www.uniprot.org
/uniprot/%s.rdf
Query Sequence record full | FASTA format | UniProt accession | http://www.un
iprot.org/uniprot/%s.fasta
Example UniProt accession | P12345
Data files
The Data Resource Catalogue is included in EMBOSS as local database
drcat.
Notes
None.
References
None.
Warnings
None.
Diagnostic Error Messages
None.
Exit status
It always exits with status 0.
Known bugs
None.
See also
Program name Description
drfinddata Find public databases by data type
drfindformat Find public databases by format
drfindid Find public databases by identifier
drfindresource Find public databases by resource
drtext Get data resource entries complete text
Author(s)
Peter Rice
European Bioinformatics Institute, Wellcome Trust Genome Campus,
Hinxton, Cambridge CB10 1SD, UK
Please report all bugs to the EMBOSS bug team
(emboss-bug (c) emboss.open-bio.org) not to the original author.
History
Target users
This program is intended to be used by everyone and everything, from
naive users to embedded scripts.
Comments
None
|