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.
Metadata
Release files for sra-quick-submit 1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sra_quick_submit-1.8.tar.gz | 17.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sra_quick_submit-1.8-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 27.4 kB
Release files / sra_quick_submit-1.8.tar.gz
| Download URL | sra_quick_submit-1.8.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8c622202e7b9cf6fed8e43e800d2b5ea787f8a2c82daaa369a19776b989d188
|
|
BLAKE2b-256 checksum How to use checksums |
cd44d57e496ed8c226adee8cc63becd7f465e568df523e14efc7efdffa5d81ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / sra_quick_submit-1.8-py2.py3-none-any.whl
| Download URL | sra_quick_submit-1.8-py2.py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
f5742ba0051dbb82c687a5e2b159603049e1f90a8a290ff7ebb0c4ee2b93d577
|
|
BLAKE2b-256 checksum How to use checksums |
06a29e1d97d53ad98ce85bb0cc48cd9d04ea487b16176786bcd5c58b566dbec0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|