Skip to main content
https://raw.githubusercontent.com/sequana/slicer/main/doc/slicer_logo.png https://badge.fury.io/py/sequana-slicer.svg JOSS (journal of open source software) DOI https://github.com/sequana/slicer/actions/workflows/main.yml/badge.svg Python 3.11 | 3.12

This is the slicer pipeline from the Sequana project

Overview:

Detects splice leader sequences from long-read (PacBio) data using motif-based read filtering, soft-clip analysis, sequence clustering, and multiple sequence alignment.

Input:

Long-read FASTQ files (PacBio) and a reference genome FASTA file.

Output:

Clustered and aligned soft-clipped sequences (FASTA), per-sample HTML reports, and a merged CSV statistics file.

Status:

beta

Citation:

Cokelaer et al, (2017), ‘Sequana’: a Set of Snakemake NGS pipelines, Journal of Open Source Software, 2(16), 352, JOSS DOI doi:10.21105/joss.00352

Installation

sequana_slicer is based on Python3, just install the package as follows:

pip install sequana_slicer --upgrade

You will need third-party tools. Please see below for details.

Usage

sequana_slicer --help
sequana_slicer --input-directory DATAPATH --reference-file reference.fasta

This creates a directory with the pipeline and configuration file. You will then need to execute the pipeline:

cd slicer
sh slicer.sh  # for a local run

This launch a snakemake pipeline. If you are familiar with snakemake, you can retrieve the pipeline itself and its configuration files and then execute the pipeline yourself with specific parameters:

snakemake -s slicer.rules -c config.yaml --cores 4 --stats stats.txt

Or use sequanix interface.

Usage with apptainer / singularity

With Apptainer, initiate the working directory as follows:

sequana_slicer --input-directory DATAPATH --reference-file reference.fasta \
    --apptainer-prefix ~/.sequana/apptainers

Images are downloaded in the working directory but you can store them in a shared directory to avoid re-downloading them (recommended for repeated use):

sequana_slicer --input-directory DATAPATH --reference-file reference.fasta \
    --apptainer-prefix ~/.sequana/apptainers

and then:

cd slicer
sh slicer.sh

if you decide to use snakemake manually, do not forget to add apptainer options:

snakemake -s slicer.rules -c config.yaml --cores 4 --stats stats.txt \
    --apptainer-prefix ~/.sequana/apptainers \
    --apptainer-args "-B /home:/home"

By default, the home is already set for you. Additional binding path can be set using environment variables e.g.:

export APPTAINER_BINDPATH=" -B /pasteur"

Requirements

This pipelines requires the following executable(s):

  • seqkit

  • minimap2

  • samtools

  • cd-hit-est

  • mafft

  • graphviz

These tools are available as Apptainer/Singularity containers (see config.yaml for container URLs).

https://raw.githubusercontent.com/sequana/slicer/main/sequana_pipelines/slicer/dag.png

Details

This pipeline runs slicer in parallel on the input fastq files (paired or not). A brief sequana summary report is also produced.

Rules and configuration details

Here is the latest documented configuration file to be used with the pipeline. Each rule used in the pipeline may have a section in the configuration file.

Changelog

Version

Description

0.0.1

First release.

Contribute & Code of Conduct

To contribute to this project, please take a look at the Contributing Guidelines first. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

Metadata

Release files for sequana-slicer 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sequana-slicer 0.1.0
File Size Uploaded Provenance Actions
sequana_slicer-0.1.0.tar.gz 62.1 kB Without provenance Details for sequana_slicer-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sequana-slicer 0.1.0
File Interpreter ABI Platform Actions
sequana_slicer-0.1.0-py3-none-any.whl Python 3 none any Details for sequana_slicer-0.1.0-py3-none-any.whl

Total release size: 124.8 kB

Release files / sequana_slicer-0.1.0.tar.gz

Download URL sequana_slicer-0.1.0.tar.gz
Size 62.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f332bfb614af2252b1ae810dce2a2dd4691d2c8ed93e7ce179f6e4593f584749
BLAKE2b-256 checksum
How to use checksums
3157f49756f72011c81ada116f1ca6e4b69b3b7f82500eb08635d7b6400dc9d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.10.14 Linux/6.14.5-100.fc40.x86_64

Release files / sequana_slicer-0.1.0-py3-none-any.whl

Download URL sequana_slicer-0.1.0-py3-none-any.whl
Size 62.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78ce912d4b7f0bbf9e88e31d1b037c65e9c8c90d12bb24a2745de8359166c598
BLAKE2b-256 checksum
How to use checksums
873fd02b50a169b54efd5a185075773c645b5e0f4a9f5888ce38748b8a4e86bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.10.14 Linux/6.14.5-100.fc40.x86_64

Security for sequana-slicer 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page