YaqingLiu 3 роки тому
джерело
коміт
e70dd3a2a1
3 змінених файлів з 5 додано та 5 видалено
  1. +1
    -1
      inputs
  2. +2
    -1
      tasks/ngscheckmate_fastq.wdl
  3. +2
    -3
      workflow.wdl

+ 1
- 1
inputs Переглянути файл

@@ -1,5 +1,5 @@
{
"{{ project_name }}.sample_id": {{ sample_id | tojson }},
"{{ project_name }}.sample_id": "{{ sample_id }}",
"{{ project_name }}.fastq1": {{ fastq1 | tojson }},
"{{ project_name }}.fastq2": {{ fastq2 | tojson }},
"{{ project_name }}.subsampling_rate": "{{ subsampling_rate }}",

+ 2
- 1
tasks/ngscheckmate_fastq.wdl Переглянути файл

@@ -1,7 +1,8 @@
task ngscheckmate_fastq {
String output_id
File fq1
File fq2
String basename(fq1, "_R1.fastq.gz")
String subsampling_rate
String docker
String cluster_config

+ 2
- 3
workflow.wdl Переглянути файл

@@ -2,7 +2,7 @@ import "./tasks/ngscheckmate_fastq.wdl" as ngscheckmate_fastq
workflow {{ project_name }} {
Array[String] sample_id
String sample_id
Array[File] fastq1
Array[File] fastq2
String subsampling_rate
@@ -10,10 +10,9 @@ workflow {{ project_name }} {
String cluster_config
String disk_size
scatter (idx in range(length(sample_id))) {
scatter (idx in range(length(fastq1))) {
call ngscheckmate_fastq.ngscheckmate_fastq as ngscheckmate_fastq {
input:
output_id=sample_id[idx],
fq1=fastq1[idx],
fq2=fastq2[idx],
subsampling_rate=subsampling_rate,

Завантаження…
Відмінити
Зберегти