소스 검색

test workflow

master
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,

Loading…
취소
저장