logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nquire - query NCBI Entrez Utilities, other parameter-based web services, or FTP

Description

nquire  performs  raw HTTP(S) queries against web services such as NCBI E-Utilities that take GET or POST
       parameters, or downloads or listings from FTP and Aspera servers.  (Aspera  support  requires  installing
       proprietary client software.)

Name

       nquire - query NCBI Entrez Utilities, other parameter-based web services, or FTP

Options

Documentation-help  Print  usage  information, complete with a few examples, some additionally illustrating the use of
              xtract(1).

   QueryCommands-ftphostdir [file]
              Use FTP instead of HTTP.  The shell implementation accepts a filename on  the  command  line  only
              when invoked from a (pseudo)terminal, and otherwise reads filenames from standard input.

       -urlURL
              Base URL for external search.

       -get [URL]
              Use HTTP(S) GET instead of POST.

       -lenURL
              Content length of HTTP file.

       -lsthostdir
              Lists contents of FTP site.

       -dirhostdir
              FTP listing with file sizes.

   FileDownloads-dwnhostdir [file]
              Like -ftp, but saves contents to correspondingly named files in the current directory.

       -asphostdir [file]
              Like -dwn, but uses Aspera's proprietary client if installed.

   -urlShortcuts-ncbi     https://www.ncbi.nlm.nih.gov

       -eutils   https://eutils.ncbi.nlm.nih.gov/entrez/eutils

       -pubchem  https://pubchem.ncbi.nlm.nih.gov

       -pugrest  https://pubchem.ncbi.nlm.nih.gov/rest/pug

       -pugview  https://pubchem.ncbi.nlm.nih.gov/rest/pug_view

   URLAdditionscomponent
              Add /component to the base URL.  (Must precede any tag/value pairs.)

       -tagvalue ...
              Add &tag=value,... to the base URL.  (Must follow any simple components.)

   Miscellaneous-examples
              Examples of advanced queries.

       -version
              Print version number.

See Also

cit2pmid(1),      curl(1),     download-ncbi-data(1),     download-ncbi-software(1),     download-pmc(1),
       download-pubmed(1), edict(1), efetch(1), efilter(1), einfo(1), elink(1), esearch(1), wget(1), xtract(1).

NCBI                                               2023-02-25                                          NQUIRE(1)

Synopsis

nquire  [-help] [-ftphostdir [file]] [-urlURL] [-get [URL]] [-lenURL] [-lsthostdir] [-dirhostdir]
       [-eutilsname] [-dwnhostdir [file]]  [-asphostdir [file]]  [-ncbi|-eutils|-pubchem|-pugrest|-pugview]
       [component ...] [-tagvalue ...] [-examples] [-version]

See Also