We have a bioinformatic resource that largely replaces the functionality of this project! See our new repository here: https://github.com/nanoporetech/pychopper
This repository is now unsupported and we do not recommend its use. Please contact Oxford Nanopore: [email protected] for help with your application if it is not possible to upgrade to our new resources, or we are missing key features.
This simple Snakemake pipeline is running pychopper (a tool to identify full length cDNA reads) on a directory containing fastq files. Check out the pychopper repository for more information on these parameters, here.
The input files and parameters are specified in config.yml
:
fastq_dir
- directory with the fastq files. The pipeline will concatenate them into a single input fastq file.primers
- the cDNA primers as a fasta snippet.aln_params
- pychopper alignment parameters.target_length
- number of bases to scan at each end.sample_size
- number of random samples when calculating score cutoff.score_percentile
- score cutoff percentile.heu_mode
- use heuristic mode if true.heu_stringency
- stringency in heuristic mode.
output/full_length_reads.fastq
- stranded full length reads.output/unclassified_reads.fastq
- unclassified reads.output/pychopper_report.pdf
- report PDF.output/stats.tsv
- classification statistics.output/alignment_scores.tsv
- alignment scores.input/reads.fastq
- concatenated input reads.input/primers.fas
- input cDNA primers.versions.txt
- installed software versions.
- miniconda - install it according to the instructions.
- snakemake install using
conda
. - The rest of the dependencies are automatically installed using the
conda
feature ofsnakemake
.
README.md
Snakefile
- master snakefileconfig.yml
- YAML configuration filesnakelib/
- snakefiles collection included by the master snakefilelib/
- python files included by analysis scripts and snakefilesscripts/
- analysis scripts
Clone the repository:
git clone https://github.com/nanoporetech/pipeline-pychopper
Edit config.yml
to set the input datasets and parameters then issue:
snakemake --use-conda -j <num_cores> all
(c) 2019 Oxford Nanopore Technologies Ltd.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Research releases are provided as technology demonstrators to provide early access to features or stimulate Community development of tools. Support for this software will be minimal and is only provided directly by the developers. Feature requests, improvements, and discussions are welcome and can be implemented by forking and pull requests. However much as we would like to rectify every issue and piece of feedback users may have, the developers may have limited resource for support of this software. Research releases may be unstable and subject to rapid iteration by Oxford Nanopore Technologies.