Metadata-Version: 2.4
Name: gb-download
Version: 0.1.0
Summary: Download sequences from GenBank using an accession numbers list.
Requires-Python: >=3.13
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.34.2
Requires-Dist: typer>=0.25.1

## 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](https://docs.python.org/3/library/venv.html) run:
```{bash}
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.

```{bash}
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.                                              │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
```
