-
Notifications
You must be signed in to change notification settings - Fork 91
Add stub blocks to all local modules #368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Changes from 3 commits
4572cb0
f14ed38
032f6c6
40def90
469eb92
2f181ce
87148b4
4f5a8cb
877e691
d8d7b89
dadca1f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -55,4 +55,19 @@ process ASPERA_CLI { | |||||||||
| md5sum -c ${meta.id}_2.fastq.gz.md5 | ||||||||||
| """ | ||||||||||
| } | ||||||||||
|
|
||||||||||
| stub: | ||||||||||
| if (meta.single_end) { | ||||||||||
| """ | ||||||||||
| echo "" | gzip > ${meta.id}.fastq.gz | ||||||||||
| touch ${meta.id}.fastq.gz.md5 | ||||||||||
| """ | ||||||||||
| } else { | ||||||||||
| """ | ||||||||||
| echo "" | gzip > ${meta.id}_1.fastq.gz | ||||||||||
| echo "" | gzip > ${meta.id}_2.fastq.gz | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| touch ${meta.id}_1.fastq.gz.md5 | ||||||||||
| touch ${meta.id}_2.fastq.gz.md5 | ||||||||||
| """ | ||||||||||
| } | ||||||||||
| } | ||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,4 +19,9 @@ process MULTIQC_MAPPINGS_CONFIG { | |
| $csv \\ | ||
| multiqc_config.yml | ||
| """ | ||
|
|
||
| stub: | ||
| """ | ||
| touch multiqc_config.yml | ||
| """ | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -48,4 +48,19 @@ process SRA_FASTQ_FTP { | |||||||||
| md5sum -c ${meta.id}_2.fastq.gz.md5 | ||||||||||
| """ | ||||||||||
| } | ||||||||||
|
|
||||||||||
| stub: | ||||||||||
| if (meta.single_end) { | ||||||||||
| """ | ||||||||||
| echo "" | gzip > ${meta.id}.fastq.gz | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| touch ${meta.id}.fastq.gz.md5 | ||||||||||
| """ | ||||||||||
| } else { | ||||||||||
| """ | ||||||||||
| echo "" | gzip > ${meta.id}_1.fastq.gz | ||||||||||
| echo "" | gzip > ${meta.id}_2.fastq.gz | ||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||
| touch ${meta.id}_1.fastq.gz.md5 | ||||||||||
| touch ${meta.id}_2.fastq.gz.md5 | ||||||||||
| """ | ||||||||||
| } | ||||||||||
| } | ||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,4 +25,9 @@ process SRA_IDS_TO_RUNINFO { | |
| ${id}.runinfo.tsv \\ | ||
| $metadata_fields | ||
| """ | ||
|
|
||
| stub: | ||
| """ | ||
| touch ${id}.runinfo.tsv | ||
| """ | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,4 +19,9 @@ process SRA_RUNINFO_TO_FTP { | |
| ${runinfo.join(',')} \\ | ||
| ${runinfo.toString().tokenize(".")[0]}.runinfo_ftp.tsv | ||
| """ | ||
|
|
||
| stub: | ||
| """ | ||
| touch ${runinfo.toString().tokenize(".")[0]}.runinfo_ftp.tsv | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do you have that info if its just a stub? |
||
| """ | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know thats how its described in the docs but actually you do not even need the quotes.