A script for updating a local directory with genomes, from NCBI assembly files
Project description
A script that downloads genomes for a selected genus/species/subspecies from NCBI assembly file.
Can also be used to update a local directory with a specified yaml file.
usage: genome_downloader.py [-h] [-f FOLDER] [-o OUTPUT] [-p N] [-i INPUT]
[-domain {archaea,bacteria,fungi,invertebrate,plant,protozoa,vertebrate_mammalian,vertebrate_other,viral}]
[-g GENUS] [-s SPECIES_TAXID] [-t TAXID] [-d] [-u]
optional arguments:
-h, --help show this help message and exit
-f FOLDER, --folder-output FOLDER
The folder which files will be downloaded to
-o OUTPUT, --output-file OUTPUT
The folder which files will be downloaded to
-p N, --parallel N Use N processes to download files (default = 1)
-i INPUT, --input-file-path INPUT
Local yaml file to update
-domain {archaea,bacteria,fungi,invertebrate,plant,protozoa,vertebrate_mammalian,vertebrate_other,viral},
--domain {archaea,bacteria,fungi,invertebrate,plant,protozoa,vertebrate_mammalian,vertebrate_other,viral}
The domain to download from
-g GENUS, --genus GENUS
Specify the target genus
-s SPECIES_TAXID, --species-taxid SPECIES_TAXID
Used to specify a target species_taxid
-t TAXID, --taxid TAXID
Used to specify a target taxid
-d, --download Use to only download files for all unique isolates in
a yaml file
-u, --update-yaml Use to only update local yaml file
Can also be used to update a local directory with a specified yaml file.
usage: genome_downloader.py [-h] [-f FOLDER] [-o OUTPUT] [-p N] [-i INPUT]
[-domain {archaea,bacteria,fungi,invertebrate,plant,protozoa,vertebrate_mammalian,vertebrate_other,viral}]
[-g GENUS] [-s SPECIES_TAXID] [-t TAXID] [-d] [-u]
optional arguments:
-h, --help show this help message and exit
-f FOLDER, --folder-output FOLDER
The folder which files will be downloaded to
-o OUTPUT, --output-file OUTPUT
The folder which files will be downloaded to
-p N, --parallel N Use N processes to download files (default = 1)
-i INPUT, --input-file-path INPUT
Local yaml file to update
-domain {archaea,bacteria,fungi,invertebrate,plant,protozoa,vertebrate_mammalian,vertebrate_other,viral},
--domain {archaea,bacteria,fungi,invertebrate,plant,protozoa,vertebrate_mammalian,vertebrate_other,viral}
The domain to download from
-g GENUS, --genus GENUS
Specify the target genus
-s SPECIES_TAXID, --species-taxid SPECIES_TAXID
Used to specify a target species_taxid
-t TAXID, --taxid TAXID
Used to specify a target taxid
-d, --download Use to only download files for all unique isolates in
a yaml file
-u, --update-yaml Use to only update local yaml file
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
genome_update-0.1.3.1.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for genome_update-0.1.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3e131d644bf77a1f6338e953c934a05f69c08a2a115f0295e801d681e6f247d |
|
MD5 | 60716d73cee919d23b8e3e19aea63216 |
|
BLAKE2b-256 | a8996947692a7a4f3988f23ffa043adadcc98410bcd37c987a433b6e1f7c8bd8 |