Tools for processing and summarising SLAMSeq experiments.
Project description
IsoSLAM
IsoSLAM is a Python package for processing and working with SLAMSeq data of RNA expression.
Installation
IsoSLAM is available on the Python Package Index (PyPI). It is recommended to use a Python Virtual Environment and install within that.
pip install isoslam
You can also install IsoSLAM directly from this GitHub repository using pip...
pip install git+https://github.com/sudlab/IsoSLAM.git
Alternatively you can clone the repository and install it from there, optionally using the -e flag to make the code
editable should you wish to work on developing the code base.
cd ~/path/to/clone/to
git clone git@github.com:sudlab/IsoSLAM.git
cd IsoSLAM
pip install -e .
If you wish to include optional dependencies you may do so.
pip install -e .[dev,docs,tests]
Conda/BioConda
If you use Conda or BioConda to manage your virtual environments and wish to document the
installation of IsoSLAM in a YAML file you can add it as a pip dependency as shown in the sample isoslam.yaml file
below which includes cgatcore and ruffus as dependencies which will be installed from one of the
listed Conda channels.
name: isoslam
channels:
- conda-forge
- bioconda
- default
dependencies:
- cgatcore
- ruffus
- pip
- pip:
- isoslam
You can then create an environment using the following.
conda env create --name isoslam --file isoslam.yaml
Usage
On installation the isoslam entry point will be added to the $PATH of your Virtual Environment. You can then invoke
it with the --help flag to see the available options.
❱ isoslam --help
usage: isoslam [-h] [-v] [-c CONFIG_FILE] [-b BASE_DIR] [-o OUTPUT_DIR] [-l LOG_LEVEL] {process,create-config,summary-counts} ...
Run various programs related to IsoSLAM. Add the name of the program you wish to run.
options:
-h, --help show this help message and exit
-v, --version Report the installed version of IsoSLAM.
-c, --config-file CONFIG_FILE
Path to a YAML configuration file.
-b, --base-dir BASE_DIR
Base directory to run isoslam on.
-o, --output-dir OUTPUT_DIR
Output directory to write results to.
-l, --log-level LOG_LEVEL
Logging level to use, default is 'info' for verbose output use 'debug'.
program:
Available programs listed below:
{process,create-config,summary-counts}
process Process all files and run all summary plotting and statistics.
create-config Create a configuration file using the defaults.
summary-counts Summarise the counts.
Each sub-command includes help too, for example...
❱ isoslam process --help
usage: isoslam process [-h] [-b BAM_FILE] [-g GTF_FILE] [-d BED_FILE] [-v VCF_FILE] [-u UPPER_PAIRS_LIMIT] [-f FIRST_MATCHED_LIMIT] [--delim DELIM]
[--output-file OUTPUT_FILE]
Process all files and run all summary plotting and statistics.
options:
-h, --help show this help message and exit
-b, --bam-file BAM_FILE
Path to '.bam' file that has undergone read assignment with 'featureCount'.
-g, --gtf-file GTF_FILE
Path to '.gtf' transcript assembly file.
-d, --bed-file BED_FILE
Path to '.bed' utron file. Must be bed6 format.
-v, --vcf-file VCF_FILE
Path to '.vcf.gz' file.
-u, --upper-pairs-limit UPPER_PAIRS_LIMIT
Upper limit of pairs to be processed.
-f, --first-matched-limit FIRST_MATCHED_LIMIT
Limit of matches.
--delim DELIM Delimiter to use in output.
--output-file OUTPUT_FILE
File to write results to.
Including in Pipelines
Calls to this entry point can easily be incorporated into CGAT/ruffus or other pipelines.
How it Works
Contributing
Contributions are welcome. We have a Code of Conduct that we ask you respect.
If you have bugs or feature requests please create an issue, there are templates for reporting bugs and making feature requests.
If you wish to contribute fixes or features yourself you can find detailed information in the contributing document (which is rendered on the website).
Licence
This software is licensed as specified by the MIT License.
Citation
Please use the Citation File Format which is available in this repository. A BibTex or APA formatted citation can be easily accessed from the "Cite this repository" link on the right hand side.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file isoslam-0.0.0a1.tar.gz.
File metadata
- Download URL: isoslam-0.0.0a1.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6444a74566bf4bb57eb13e9e7a5a90bb2e1c6a15d21ea232451aa675aa29c5f5
|
|
| MD5 |
3cd69441f40afe6206aa5142301ad7f9
|
|
| BLAKE2b-256 |
5da68a75b1e75cd24d20529a376aa596c418f45f257fb1444f89ef93f1cd99d7
|
Provenance
The following attestation bundles were made for isoslam-0.0.0a1.tar.gz:
Publisher:
pypi.yaml on sudlab/IsoSLAM
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isoslam-0.0.0a1.tar.gz -
Subject digest:
6444a74566bf4bb57eb13e9e7a5a90bb2e1c6a15d21ea232451aa675aa29c5f5 - Sigstore transparency entry: 202873954
- Sigstore integration time:
-
Permalink:
sudlab/IsoSLAM@295b029e45dd7cc6443eb40de82c63a6e3925f8d -
Branch / Tag:
refs/tags/v0.0.0-alpha1 - Owner: https://github.com/sudlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@295b029e45dd7cc6443eb40de82c63a6e3925f8d -
Trigger Event:
push
-
Statement type:
File details
Details for the file isoslam-0.0.0a1-py3-none-any.whl.
File metadata
- Download URL: isoslam-0.0.0a1-py3-none-any.whl
- Upload date:
- Size: 42.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e9389acda5cf9ba5c920b0f47ccbadf19db8e3d802ccd58d46dffdeea29a1df
|
|
| MD5 |
a89011b40e2079228f089d6f50c56f34
|
|
| BLAKE2b-256 |
75516eae350c4235ed14acf42198765adf1929ceb055099824808fb1dc52d22e
|
Provenance
The following attestation bundles were made for isoslam-0.0.0a1-py3-none-any.whl:
Publisher:
pypi.yaml on sudlab/IsoSLAM
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isoslam-0.0.0a1-py3-none-any.whl -
Subject digest:
1e9389acda5cf9ba5c920b0f47ccbadf19db8e3d802ccd58d46dffdeea29a1df - Sigstore transparency entry: 202873955
- Sigstore integration time:
-
Permalink:
sudlab/IsoSLAM@295b029e45dd7cc6443eb40de82c63a6e3925f8d -
Branch / Tag:
refs/tags/v0.0.0-alpha1 - Owner: https://github.com/sudlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yaml@295b029e45dd7cc6443eb40de82c63a6e3925f8d -
Trigger Event:
push
-
Statement type: