Pore_c_py
This package provides Python scripts for working with Pore-C data. It is not intended to be used directly by end uses, but rather as part of our Nextflow workflow wf-pore-c. Hence the terse nature of this documentation.
Installation
A package is available to install through either pip:
pip install pore-c-py
or through conda:
conda install -c nanoporetech pore-c-py
Usage
$ pore-c-py --help
usage: pore_c_py [OPTIONS] COMMAND [ARGS].
Available subcommands are:
digest Digest concatemer sequences into monomers using a restriction enzyme.
annotate Annotate alignments with a "walk", which simply
enumerates the alignment coordinates of the monomers comprising the
concatemer.
Example
The following is indicative use, similar to that performed by wf-pore-c.
INPUT="myreads.bam"
ENZYME="NlaIII"
REF="myref.fasta"
OUTPUT="all"
pore-c-py digest "${INPUT}" "${ENZYME}" \
| samtools fastq -T '*' \
| minimap2 -ay -t 8 -x map-ont "${REF}" - \
| pore-c-py annotate - "${OUTPUT}" --monomers --stdout --summary --chromunity \
| tee "${OUTPUT}.ns.bam" \
| samtools sort --write-index -o "${OUTPUT}.cs.bam" -
samtools index "${OUTPUT}.ns.bam"
The digest program can read its input from standard input, so it can be used with
bamindex in
order to process a subset of a file. This is particularly useful for
distributing the workload on a cluster.
Metadata
Release files for pore-c-py 2.1.5
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 |
|---|---|---|---|---|
| pore_c_py-2.1.5.tar.gz | 26.0 kB | Without provenance | Details for pore_c_py-2.1.5.tar.gz |
Release files / pore_c_py-2.1.5.tar.gz
| Download URL | pore_c_py-2.1.5.tar.gz |
|---|---|
| Size | 26.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1dd667c0bb1c6347b2b3af0d58b11fe53ddf4731103b6710478baaea171af889
|
|
BLAKE2b-256 checksum How to use checksums |
f020f0a7be1493f55eb470b708b2ea7abf947c786a3804a5c5b97f693bbee6c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.10
|
Security for pore-c-py 2.1.5
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.