{ | |||||
"regions": "oss://pgx-reference-data/reference/wes_bedfiles/agilent_v6/agilent_v6.bed" | |||||
} |
"{{ project_name }}.mergeSentieon.cluster_config": "OnDemand bcs.a2.large img-ubuntu-vpc", | "{{ project_name }}.mergeSentieon.cluster_config": "OnDemand bcs.a2.large img-ubuntu-vpc", | ||||
"{{ project_name }}.fastqscreen.disk_size": "100", | "{{ project_name }}.fastqscreen.disk_size": "100", | ||||
"{{ project_name }}.multiqc.disk_size": "100", | "{{ project_name }}.multiqc.disk_size": "100", | ||||
"{{ project_name }}.regions": "{{ regions }}", | |||||
"{{ project_name }}.ref_dir": "oss://chinese-quartet/quartet-storage-data/reference_data/" | "{{ project_name }}.ref_dir": "oss://chinese-quartet/quartet-storage-data/reference_data/" | ||||
} | } |
task qualimap { | task qualimap { | ||||
File bam | File bam | ||||
File bai | File bai | ||||
File regions | |||||
String bamname = basename(bam,".bam") | String bamname = basename(bam,".bam") | ||||
String docker | String docker | ||||
String cluster_config | String cluster_config | ||||
set -o pipefail | set -o pipefail | ||||
set -e | set -e | ||||
nt=$(nproc) | nt=$(nproc) | ||||
/opt/qualimap/qualimap bamqc -bam ${bam} -outformat PDF:HTML -nt $nt -outdir ${bamname} --java-mem-size=32G | |||||
/opt/qualimap/qualimap bamqc -bam ${bam} -regions ${regions} -outformat PDF:HTML -nt $nt -outdir ${bamname} --java-mem-size=32G | |||||
tar -zcvf ${bamname}_qualimap.zip ${bamname} | tar -zcvf ${bamname}_qualimap.zip ${bamname} | ||||
>>> | >>> | ||||
File screen_ref_dir | File screen_ref_dir | ||||
File fastq_screen_conf | File fastq_screen_conf | ||||
File ref_dir | File ref_dir | ||||
File regions | |||||
String fasta | String fasta | ||||
scatter (sample in inputSamples) { | scatter (sample in inputSamples) { | ||||
call qualimap.qualimap as qualimap { | call qualimap.qualimap as qualimap { | ||||
input: | input: | ||||
regions=regions, | |||||
bam=sample[2], | bam=sample[2], | ||||
bai=sample[3] | bai=sample[3] | ||||
} | } |