Skip to content

MagdalenaZZ/methylation

Repository files navigation

hydra-genetics/methylation

Methylation tools repository

Lint Snakefmt snakemake dry run integration test

pycodestyle pytest

License: GPL-3

💬 Introduction

The module consists of alignment ....

❗ Dependencies

In order to use this module, the following dependencies are required:

hydra-genetics pandas [python snakemake singularity

🎒 Preparations

Sample data

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

✅ Testing

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.

🚀 Usage

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_*

Output files

The following output files should be targeted via another rule:

File Description
methylation/PATH/FILE DESCRIPTION

🧑‍⚖️ Rule Graph

rule_graph_reference

About

Methylation tools repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages