Skip to content

Commit facf377

Browse files
committed
fix: updated schemas and params docs
1 parent 1dfa7ad commit facf377

3 files changed

Lines changed: 25 additions & 26 deletions

File tree

.test/config/config.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,3 @@ cutadapt:
2525

2626
multiqc:
2727
config: "config/multiqc_config.yml"
28-
29-
report:
30-
export_figures: True
31-
export_dir: "figures/"
32-
figure_width: 875
33-
figure_height: 500
34-
figure_resolution: 125

README.md

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ The workflow is built using [snakemake](https://snakemake.readthedocs.io/en/stab
4343
This template workflow contains artifical sequencing data in `*.fastq.gz` format.
4444
The test data is located in `.test/data`. Input files are supplied with a mandatory table, whose location is indicated in the `config.yml` file (default: `.test/samples.tsv`). The sample sheet has the following layout:
4545

46-
| sample | condition | replicate | data_folder | fq1 |
47-
| -------- | --------- | --------- | ----------- | ------------------------ |
48-
| RPF-RTP1 | RPF-RTP | 1 | data | RPF-RTP1_R1_001.fastq.gz |
49-
| RPF-RTP2 | RPF-RTP | 2 | data | RPF-RTP2_R1_001.fastq.gz |
46+
| sample | condition | replicate | read1 | read2 |
47+
| ------- | --------- | --------- | -------------------------- | -------------------------- |
48+
| sample1 | wild_type | 1 | sample1.bwa.read1.fastq.gz | sample1.bwa.read2.fastq.gz |
49+
| sample2 | wild_type | 2 | sample2.bwa.read1.fastq.gz | sample2.bwa.read2.fastq.gz |
50+
5051

5152
### Execution
5253

@@ -79,14 +80,26 @@ snakemake --cores 10 --sdm conda apptainer --directory .test
7980

8081
This table lists all parameters that can be used to run the workflow.
8182

82-
| parameter | type | details | default |
83-
| ---------------------- | ---- | ------------------------------------------- | -------------------------------------------- |
84-
| **samplesheet** | | | |
85-
| path | str | path to samplesheet, mandatory | "config/samples.tsv" |
86-
| **cutadapt** | | | |
87-
| fivep_adapter | str | sequence of the 5' adapter | Null |
88-
| threep_adapter | str | sequence of the 3' adapter | `ATCGTAGATCGGAAGAGCACACGTCTGAA` |
89-
| default | str | additional options passed to `cutadapt` | [`-q 10 `, `-m 22 `, `-M 52`, `--overlap=3`] |
83+
| parameter | type | details | default |
84+
| ------------------ | ---- | --------------------------------------- | --------------------------------------------- |
85+
| **samplesheet** | | | |
86+
| path | str | path to samplesheet, mandatory | "config/samples.tsv" |
87+
| **get_genome** | | | |
88+
| database | str | one of `manual`, `ncbi` | `ncbi` |
89+
| assembly | str | RefSeq ID | `GCF_000006785.2` |
90+
| fasta | str | optional path to fasta file | Null |
91+
| gff | str | optional path to gff file | Null |
92+
| gff_source_type | str | list of name/value pairs for GFF source | see config file |
93+
| **simulate_reads** | | | |
94+
| read_length | num | | 100 |
95+
| read_number | | | 100000 |
96+
| random_freq | | | 0.01 |
97+
| **cutadapt** | | | |
98+
| threep_adapter | str | sequence of the 3' adapter | `-a ATCGTAGATCGG` |
99+
| fivep_adapter | str | sequence of the 5' adapter | `-A GATGGCGATAGG` |
100+
| default | str | additional options passed to `cutadapt` | [`-q 10 `, `-m 25 `, `-M 100`, `--overlap=5`] |
101+
| **multiqc** | | | |
102+
| config | str | path to multiqc config | `config/multiqc_config.yml` |
90103

91104
## Authors
92105

config/config.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,3 @@ cutadapt:
2525

2626
multiqc:
2727
config: "config/multiqc_config.yml"
28-
29-
report:
30-
export_figures: True
31-
export_dir: "figures/"
32-
figure_width: 875
33-
figure_height: 500
34-
figure_resolution: 125

0 commit comments

Comments
 (0)