Run assembler (Canu, Flye, Hifiasm) on a set of long read files
Project description
This is is the lora pipeline from the Sequana project
- Overview:
Run assembler (Canu, flye, hifiasm) on a set of long read files
- Input:
A set of BAM files from Pacbio sequencers, or FastQ files for Nanopore sequencers.
- Output:
HTML reports with assemblies for each sample.
- Status:
prod
- 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
Install Lora with pip command:
pip install sequana-lora
To update your installed version, type:
pip install sequana-lora --upgrade
Usage
sequana_lora --help sequana_lora --input-directory DATAPATH --assembler flye
This creates a directory with the pipeline and configuration file. You will then need to execute the pipeline:
cd lora sh lora.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 lora.rules --cores 4 --stats stats.txt
Or use sequanix interface.
Example 1 Pacbio subreads
sequana_lora --input-directory . --pacbio cd lora
Do you need to build CCS ?
Look at the config file and the CCS section. Check that the parameters are as expected. If you wish to build so-called HiFi reads, set the min-passes to 10 and min-rq to 0.99.
do you have a blast DB
You may also edit the config file to set blast to true (you must handle the blast databases yourself)
Do you need an annotation from your contigs?
Set prokka to True (for bacterial annotation)
Want to check the core genome?
You may set busco to true to detect the core genome (you must provide a path to a valid lineage).
Requirements
This pipelines requires the following executable(s):
canu
hifiasm
flye
blastn
busco
bwa
ccs
circlator
checkm
medaka
minimap2
pbindex
polypolish
prokka
samtools
sequana
Details
This pipeline runs lora in parallel on the input fastq files (paired or not). A brief sequana summary report is also produced.
In practice, you may start from BAM files generated by Pacbio sequencers or Fastq files, or CCS files. CCS files can be built by the pipeline. Then, an assembler is used to build the draft assemblies (Canu, hifiasm, etc). From the draft, circularisation may be applied to generate circularised genome (useful for bacterial genomes). Finally, each contig is blasted and quality checks are performed using Busco, quast, etc.
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 |
---|---|
1.0.0 |
|
0.3.0 |
|
0.2.0 |
|
0.1.0 |
First release. |
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
File details
Details for the file sequana_lora-1.0.0.tar.gz
.
File metadata
- Download URL: sequana_lora-1.0.0.tar.gz
- Upload date:
- Size: 88.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.14 Linux/6.12.10-100.fc40.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c182995648b06a34105ef9f2cbb853f16e2c1f014f133d6afb414c91c599e830
|
|
MD5 |
9ed0c67b3c05be99a31fb8f16cf2c58a
|
|
BLAKE2b-256 |
58beab1d372dd820f4b14fdb009f0d682e7f71106317c999d15cfb521bf63db8
|
File details
Details for the file sequana_lora-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: sequana_lora-1.0.0-py3-none-any.whl
- Upload date:
- Size: 92.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.1 CPython/3.10.14 Linux/6.12.10-100.fc40.x86_64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
694437dbf2b90a49d216bc676f0f40fb9053b5aec6da0901d3fed0a1388a5c2f
|
|
MD5 |
8036f1154c9062129b09ef5ded14f51f
|
|
BLAKE2b-256 |
5202d616c625fdfdd6296a1e55b1a1900d14be564eb99730a533d7c21b01f03e
|