VirAmp-Hub
A tool that lets you manipulate/convert viral amplicon/primer scheme information.
What is it for?
The layout of (tiled-) amplicon schemes for amplifying and sequencing viral genomes is typically specified through one of a number of non-standardized scheme files. These can, generally, not be used interchangeably with downstream analysis tools.
VirAmp-Hub can convert between commonly used scheme file formats, such as used, e.g., by the ARTIC network, the ivar and cojac suites of tools, and Galaxy tools and workflows for viral sequencing data analysis.
Usage
After installation (pip install viramp-hub), use the package via the
scheme-convert command.
For help run:
scheme-convert --help
Prepare an existing primer scheme file for use with ivar:
scheme-convert primer_scheme.bed --to bed --bed-type ivar -o ivar.bed
Generate an amplicon insert scheme file for cojac:
scheme-convert primer_scheme.bed --to bed --bed-type cojac -o cojac_insert.bed
Generate an amplicon info file for use with ivar inside Galaxy:
scheme-convert primer_scheme.bed --to amplicon-info -o info.tsv
Amplicon info files are simple tab-separated files listing primers contributing to the same amplicon on a single line. For nested primer schemes, you can control, which primers to report in the info file.
List only the inner primers:
scheme-convert primer_scheme.bed --to amplicon-info -r inner -o info.tsv
List only the outer primers:
scheme-convert primer_scheme.bed --to amplicon-info -r outer -o info.tsv
VirAmp-Hub tries to autodetect primer to amplicon assignments using the Python
re pattern: r'(?P<prefix>(.*_)*)(?P<num>\d+).*_(?P<name>L(?:EFT)?|R(?:IGHT)?)'.
If this fails for any given primer scheme, it is possible to override
autodetection by providing an amplicon info file directly, e.g.:
scheme-convert primer_scheme.bed -a amplicon_info.tsv --to bed --bed-type cojac -o cojac_insert.bed
or:
scheme-convert primer_scheme.bed -a amplicon_info.tsv --to amplicon-info -r inner -o info.tsv
Metadata
Release files for viramp-hub 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| viramp_hub-0.1.0.tar.gz | 6.3 kB | Without provenance | Details for viramp_hub-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| viramp_hub-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for viramp_hub-0.1.0-py3-none-any.whl |
Total release size: 13.0 kB
Release files / viramp_hub-0.1.0.tar.gz
| Download URL | viramp_hub-0.1.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a930e2caed01d94a96decae239e6dcc0f8c83cc9eaef393c53641a3d61269ffc
|
|
BLAKE2b-256 checksum How to use checksums |
72935651ce08708d678a9efba40b619f76cbc82d2178382899e9398243603180
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / viramp_hub-0.1.0-py3-none-any.whl
| Download URL | viramp_hub-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18b4f668974850d54502ca486cc9aad9caef2803dc03bdac15acfcf355931e52
|
|
BLAKE2b-256 checksum How to use checksums |
6d41fa069d517a960741a9780705abc90aab5942a862b7328fd9661a9fc529a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for viramp-hub 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.