You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/README.md
+27-9Lines changed: 27 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,30 @@ To configure this workflow, modify ``config/config.yaml`` according to your need
4
4
5
5
# Sample sheet
6
6
7
-
Add samples to `config/samples.tsv`. For each sample, the columns `sample_name`, `alias`, `platform`, and `group` have to be defined.
8
-
* Samples within the same `group`will be called jointly.
9
-
*Aliases represent the name of the sample within its group (they can be the same as the sample name, or something simpler, e.g. tumor or normal).
7
+
Add samples to `config/samples.tsv`. For each sample, the columns `sample_name`, `alias`, `platform`, `datatype`, `calling`and `group` have to be defined.
8
+
* Samples within the same `group`can be referenced in a joint [Calling scenario](#calling-scenario) via their `alias`es.
9
+
*`alias`es represent the name of the sample within its group. They are meant to be some abstract description of the sample type to be used in the [Calling scenario](#calling-scenario), and should thus be used consistently across groups. A classic example would be a combination of the `tumor` and `normal` aliases.
10
10
* The `platform` column needs to contain the used sequencing plaform (one of 'CAPILLARY', 'LS454', 'ILLUMINA', 'SOLID', 'HELICOS', 'IONTORRENT', 'ONT', 'PACBIO’).
11
+
* The purity column is required when being used with the default scenario. If it is unknown, it can be set to `1.0`.
12
+
* The same `sample_name` entry can be used multiple times within a `samples.tsv` sample sheet, with only the value in the `group` column differing between repeated rows. This way, you can use the same sample for variant calling in different groups, for example if you use a panel of normal samples when you don't have matched normal samples for tumor variant calling.
13
+
* The `datatype` column specifies what kind of data each sample corresponds to. This can either be `rna` or `dna`.
14
+
* The `calling` column sets the kind of analysis to be performed. This can be either `fusions`, `variants` or both (comma separated). Fusion calling is still under developement and should be considered as experimental.
11
15
* The `ffpe` column specifies whether a sample is a ffpe substrate (1) or not (0). ffpe treated normal samples are not supported.
12
16
13
17
Missing values can be specified by empty columns or by writing `NA`. Lines can be commented out with `#`.
14
18
15
19
# Unit sheet
16
20
17
21
For each sample, add one or more sequencing units (runs, lanes or replicates) to the unit sheet `config/units.tsv`.
18
-
* Each unit has a `unit_name`, which can be e.g. a running number, or an actual run, lane or replicate id.
19
-
* Each unit has a `sample_name`, which associates it with the biological sample it comes from.
20
-
* For each unit, define either one (column `fq1`) or two (columns `fq1`, `fq2`) FASTQ files (these can point to anywhere in your system).
21
-
* Alternatively, you can define an SRA (sequence read archive) accession (starting with e.g. ERR or SRR) by using a column `sra`. In the latter case, the pipeline will automatically download the corresponding paired end reads from SRA. If both local files and SRA accession are available, the local files will be preferred.
22
-
* Define adapters in the `adapters` column, by putting [cutadapt arguments](https://cutadapt.readthedocs.org) in quotation marks (e.g. `"-a ACGCGATCG -A GCTAGCGTACT"`).
22
+
* Each unit has a `unit_name`. This can be a running number, or an actual run, lane or replicate id.
23
+
* Each unit has a `sample_name`, which associates it with the biological sample it comes from. This information is used to merged all the units of a sample before read mapping and duplicate marking.
24
+
* For each unit, you need to specify either of these columns:
25
+
*`fq1` only for single end reads. This can point to any FASTQ file on your system
26
+
*`fq1` and `fq2` for paired end reads. These can point to any FASTQ files on your system
27
+
*`sra` only: specify an SRA (sequence read archive) accession (starting with e.g. ERR or SRR). The pipeline will automatically download the corresponding paired end reads from SRA.
28
+
* If both local files (`fq1`, `fq2`) and SRA accession (`sra`) are available, the local files will be used.
29
+
* Define adapters in the `adapters` column, by putting [fastp arguments](https://github.com/OpenGene/fastp?tab=readme-ov-file#adapters) in quotation marks (e.g. `"--adapter_sequence ACGCGATCG --adapter_sequence_r2 GCTAGCGTACT"`).
30
+
Automatic adapter trimming can be enabled by setting the keyword `auto_trim` (Please consider the [fastp documentation](https://github.com/OpenGene/fastp) for flags to put here to configure the automatic trimming behavior more explicitly). If the column is empty no trimming will be performed.
23
31
24
32
Missing values can be specified by empty columns or by writing `NA`. Lines can be commented out with `#`.
25
33
@@ -29,7 +37,17 @@ For panel data the pipeline allows trimming of amplicon primers on both ends of
29
37
In case of single end primers these are supposed to be located at the left end of a read.
30
38
When primer trimming is enabled, primers have to be defined either directly in the `config.yaml` or in a seperate tsv-file.
31
39
Defining primers directly in the config file is prefered when all samples come from the same primer set.
32
-
In case of different panels, primers have to be set panel-wise in a seperate tsv-file (the path to that tsv can be set in the config under `primers/trimming/tsv`).
40
+
In case of different panels, primers have to be set panel-wise in a seperate tsv-file.
33
41
For each panel the following columns need to be set: `panel`, `fa1` and `fa2` (optional).
34
42
Additionally, for each sample the corresponding panel must be defined in `samples.tsv` (column `panel`).
43
+
If a panel is not provided for a sample, trimming will not be performed on that sample.
35
44
For single primer trimming only, the first entry in the config (respective in the tsv file) needs to be defined.
45
+
46
+
# Annotating UMIS
47
+
48
+
For annotating UMIs two additional columns in `sample.tsv` must be set:
49
+
*`umi_read`: this can be either of the following options:
50
+
*`fq1` if the UMIs are part of read 1
51
+
*`fq2` if the UMIs are part of read 2
52
+
*`both` if there are UMIs in both paired end reads
53
+
*`umi_len`: Number of bases (UMI length) to be annotated as UMI.
0 commit comments