gb-download (0.1.0)
Installation
pip install --index-url gb-downloadAbout this package
Download sequences from GenBank using an accession numbers list.
GB-Download
A tool to download sequences from GenBank base on a text file containing accession numbers separated by comma and save them in a single FASTa file.
Installaion
In a virtual environment run:
pip install gb-download
Usage
GB-Download reads accession numbers from a text file and downloads the respective sequences. These numbers must be in a single line separated by comma and preferably wihtout spaces.
Usage: main.py [OPTIONS] FILE
[DB]:[gene|genome|gds|nuccore|popset|protein|snp] [OUTPUT]
Download sequences from GenBank based on a single line text file containing accession numbers separated
by comma and save them in a FASTa formated file.
This program comes with ABSOLUTELY NO WARRANTY.
Use it at your own risk.
╭─ Arguments ────────────────────────────────────────────────────────────────────────────────────────────╮
│ * file PATH Path to text file containing the accession │
│ numbers. │
│ [required] │
│ db [DB]:[gene|genome|gds|nuccore|popset|prot Reference database. [default: nuccore] │
│ ein|snp] │
│ output [OUTPUT] Output file name. [default: output.fasta] │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the │
│ installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Requirements
Requires Python: >=3.13