HIV Isoform Filter
This package takes a .gtf file of preliminarily filtered HIV transcripts from ONT sequencing and filters them to include only correctly assigned transcripts using the following filters.
- FILTER 1: only include class codes =, J, and m
- FILTER 2: only include samples with end values >= min_end_bp and start values <= max_start_bp
- FILTER 3: get rid of any samples with read errors/small gaps
- FILTER 4: keep only correct Env samples
- FILTER 5: keep only correct Nef samples(long samples added to possible_misassigned)
- FILTER 6: keep only correct Rev samples(long samples added to possible_misassigned)
- FILTER 7: keep only correct Tat samples(long samples added to possible_misassigned)
- FILTER 8: keep only correct Vif samples
- FILTER 9: keep only correct Vpr samples
- FILTER 10: check possible_misassigned for partial splice compatibility (vif -> vpr -> unslpiced_tat -> env)
Note: This code currently relies on a very specific setup of the gtf file to work properly. The note must be in the order designated in the []. transcript entry = ref genome, analysis_pathway, transcript, start, end, ".", "+", ".", [transcript id; gene id; gene_name; xloc; ref_gene_id; contained_in; cmp_ref; class_code; tss_id] exon entry = ref genome, analysis_pathway, exon, start, end, ".", "+", ".", [transcript id; gene id; exon number]
Installation
Fast install:
pip install HIV_Isoform_Filter
Usage
HIV Isoform Filter [options] input_file_name output_file_prefix ref_file_name
positional arguments: input_file_name Designates input file to be filtered. This is required. output_file_prefix Designates output file prefix. This is required. ref_file_name Designates reference CDS file name. This should be a python file with only a dictionary with the splice donor sites, splice acceptor sites and gene CDS regions defined. This is required. An example is available in the test data set.
options:
| Arguement | Function |
|---|---|
| -h, --help | show this help message and exit |
| -g value, --gap value | Sets gap tolerance. Default is 15. |
| -a value, --startBP value | Sets maximum starting bp. Default is 700. |
| -z value, --endBP value | Sets minimum ending bp. Default is 9500. |
| -l value, --lengthFS value | Sets maximum fully spliced transcript length. Default is 2100. |
| -n value, --NCE value | When set to True, csv file will have y/n columns for the precence of NCEs. Default is False. |
License
MIT - Copyright (c) 2023 Jessica Lauren Albert
HIV_Isoform_filter
Metadata
Release files for HIV-Isoform-filter 1.0.2
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 |
|---|---|---|---|---|
| HIV_Isoform_filter-1.0.2.tar.gz | 17.1 kB | Without provenance | Details for HIV_Isoform_filter-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| HIV_Isoform_filter-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for HIV_Isoform_filter-1.0.2-py3-none-any.whl |
Total release size: 28.7 kB
Release files / HIV_Isoform_filter-1.0.2.tar.gz
| Download URL | HIV_Isoform_filter-1.0.2.tar.gz |
|---|---|
| Size | 17.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b940cb4e6930981f27e5c66a444f5651dd9f043a40437da0c9064f29594d63f
|
|
BLAKE2b-256 checksum How to use checksums |
ca794bde7c45e9416cafeb78eae7b7bea92825e21e909a0f38c9b55b64b23ce2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Release files / HIV_Isoform_filter-1.0.2-py3-none-any.whl
| Download URL | HIV_Isoform_filter-1.0.2-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15724d08bbde4100cbc64bac564c92cb847a75910d33a7734f3fe94a8358772d
|
|
BLAKE2b-256 checksum How to use checksums |
92914e1e819bf26633e107658b48aac5f50b8e5063d001a0f83033fb86a05601
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.1
|
Security for HIV-Isoform-filter 1.0.2
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.