Skip to main content

Pip package for SRA Quick-Submit, a goofy SRA submission tool from 2013.

Project description

Quick Python tool for making SRA submissions as part of the GenomeTrakr Next Generation Sequencing Network for Food Pathogen Traceability project.

usage: sra_quick_submit [-h] [-o PATH] [-d YYYY-MM-DD] [-l CHARACTER]
                        [-n NAME] [-e email@email.email]
                        <PRJNAxxxxxxx> <PATH | FILE>

    SRA Quick Submit
Aug 16, Justin Payne
ORISE FDA-CFSAN-ORS-DM-MMSB
justin.payne@fda.hhs.gov
v1.6b

positional arguments:
  <PRJNAxxxxxxx>
  <PATH | FILE>

optional arguments:
  -h, --help            show this help message and exit
  -o PATH, --output PATH
                        Output directory. Will be created if it doesn't
                        already exist. [default:$PWD]
  -d YYYY-MM-DD, --hold-date YYYY-MM-DD
                        Hold this submission until specified date. SRA allows
                        up to a one-year hold.
  -l CHARACTER, --delimiter CHARACTER
                        Character used as delimiter in table. [default: \t]
  -n NAME, --name NAME  Submitter name.
  -e email@email.email, --email email@email.email
                        Submitter email.
  -m INT, --library-length INT
                        Nominal library insert length [default: 500]
  -r INT, --read-length INT
                        Total read length (number of primary flows) [default:
                        250]
  -g <sample name | 'all'>, --merge <sample name | 'all'>
                        Merge identical sample names into single experiment.
                        This should be done if the same library was re-used
                        for multiple runs. Specify the sample names to merge
                        or "all" to merge all multiply-present samples
                        [default: do not merge]
  --make-table          Instead of producing a submission, produce a table
                        template which this script can accept as input.

Import a table file of metadata or a MiSeq output directory and generate submittable XML tarballs that can be uploaded to NCBI SRA. Accepts any line ending (Mac, PC, Linux).

Change history:
Aug 29 v1.1b: protection from sample name collision.
Sep 6  v1.2b: -p flag for specifying BioProject ID.
Sep 16 v1.5b:  release version for GenomeTrakr community.
Sep 16 v1.5b: release version for GenomeTrakr community.
Sep 27 v1.6b: -g flag to merge runs with existing experiments, if possible

Usage example:

$ sra_quick_submit PRJNA00000000 /path/to/a/miseq/output/folder/130730_M01836_0006_000000000-A3N78/ -o /another/path/

History

1.8 (2021-02-02)

  • First release on PyPI.

1.6b (2013-09-27)

  • -g flag to merge runs with existing experiments, if possible.

1.5b (2013-08-16)

  • release version for GenomeTrakr community.

1.2b (2013-09-06)

  • -p flag for specifying BioProject ID.

1.1b (2013-08-29)

  • protection from sample name collision.

Project details


Release history Release notifications | RSS feed

This version

1.8

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sra_quick_submit-1.8.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

sra_quick_submit-1.8-py2.py3-none-any.whl (9.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sra_quick_submit-1.8.tar.gz.

File metadata

  • Download URL: sra_quick_submit-1.8.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.7.0 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

File hashes

Hashes for sra_quick_submit-1.8.tar.gz
Algorithm Hash digest
SHA256 e8c622202e7b9cf6fed8e43e800d2b5ea787f8a2c82daaa369a19776b989d188
MD5 4fe1f3c76bb13f4149c16c0dc8eeb67c
BLAKE2b-256 cd44d57e496ed8c226adee8cc63becd7f465e568df523e14efc7efdffa5d81ce

See more details on using hashes here.

File details

Details for the file sra_quick_submit-1.8-py2.py3-none-any.whl.

File metadata

  • Download URL: sra_quick_submit-1.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.7.0 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

File hashes

Hashes for sra_quick_submit-1.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f5742ba0051dbb82c687a5e2b159603049e1f90a8a290ff7ebb0c4ee2b93d577
MD5 1a3f12c3e33677b892c926b8cc4c1108
BLAKE2b-256 06a29e1d97d53ad98ce85bb0cc48cd9d04ea487b16176786bcd5c58b566dbec0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page