The module consists of alignment ....
In order to use this module, the following dependencies are required:
Input data should be added to samples.tsv
and units.tsv
.
The following information need to be added to these files:
Column Id | Description |
---|---|
samples.tsv |
|
sample | unique sample/patient id, one per row |
units.tsv |
|
sample | same sample/patient id as in samples.tsv |
type | data type identifier (one letter), can be one of Tumor, Normal, RNA |
platform | type of sequencing platform, e.g. NovaSeq |
machine | specific machine id, e.g. NovaSeq instruments have @Axxxxx |
flowcell | identifer of flowcell used |
lane | flowcell lane number |
barcode | sequence library barcode/index, connect forward and reverse indices by + , e.g. ATGC+ATGC |
fastq1/2 | absolute path to forward and reverse reads |
adapter | adapter sequences to be trimmed, separated by comma |
The workflow repository contains a small test dataset .tests/integration
which can be run like so:
$ cd .tests/integration
$ snakemake -s ../../Snakefile --configfiles ../../config/config.yaml config/config.yaml -j1 --use-singularity
../../config/config.yaml
is the original config-file, while config/config.yaml
is the test config. By defining two config-files the latter overwrites any overlapping variables in the first config-file.
To use this module in your workflow, follow the description in the
snakemake docs.
Add the module to your Snakefile
like so:
module prealignment:
snakefile:
github(
"methylation",
path="workflow/Snakefile",
tag="1.0.0",
)
config:
config
use rule * from methylation as methylation_*
The following output files should be targeted via another rule:
File | Description |
---|---|
methylation/PATH/FILE |
DESCRIPTION |