diff --git a/modules/ktest/mapping/.gitignore b/modules/ktest/mapping/.gitignore new file mode 100644 index 0000000..731e034 --- /dev/null +++ b/modules/ktest/mapping/.gitignore @@ -0,0 +1 @@ +bin/__pycache__ \ No newline at end of file diff --git a/modules/ktest/mapping/README.md b/modules/ktest/mapping/README.md new file mode 100644 index 0000000..f143b90 --- /dev/null +++ b/modules/ktest/mapping/README.md @@ -0,0 +1,102 @@ +# Mapping module +## 1. Input channels + + +
Channel | +Value | +Example | +
---|---|---|
Data channel | +- rg_id: Group ID / Sample ID - sample_name: Name of sample - library_id: Unique ID of library of sample - lane: Lane on sequencer - platform: Platform of sequencer (Illumina/MCI) - machine: Name of the sequencer, e.g. Hiseq X - orient: The orientation, forward or reverse (1 or 2) - object: Which object's sequence? e.g. human, shrimp, ... - path: Path of fastq files |
+ [rg_id, sample_name, library_id, lane, platform, machine, orient, object, path] |
+
Reference channel | +- bwa: Folder contains index set of the reference genome (Indexing by BWA) | +[bwa] |
+
+
Channel | +Value | +Example | +
---|---|---|
from_mapping | +- object: Which object's sequence? e.g. human, shrimp, ... - rg_id: Group ID / Sample ID - library_id: Unique ID of library of sample - dedup_bam: Bam file after mark duplicate - dedup_bai: Bai file, index of bam file |
+ [val(object), val(rg_id), val(library_id), path(dedup_bam), path(dedup_bai)] + |
+
Process | +Input Channel | +Output Channel | +Description | +
---|---|---|---|
CAT_FILE | +[val(object), val(rg_id), val(library_id), val(platform), val(machine), val(orient), [val(path1), val(path2)]] | +[val(object), val(rg_id), val(library_id), val(platform), val(machine), val(orient), path(cat_orient_fastq_gz) | +Concate fastq files come from identical sample | +
FASTQC | +[val(rg_id), val(library_id), path(fastq_path)] | +Comming... | +Run fastqc | +
MAP_BAM | +[val(object), val(rg_id), val(library_id), val(platform), val(machine), path(fastq_path), path(bwa_ref)] | +[val(object), val(rg_id), val(library_id), path(pe_sorted_bam)] | +Mapping and sorting | +
BAM_INDEX | +[val(object), val(rg_id), val(library_id), path(dedup_bam)] | +[val(object), val(rg_id), val(library_id), path(dedup_bai)] | +Indexing bam file | +