Browse Source

first commit

raw_bam_qc_wes
YaqingLiu 5 years ago
parent
commit
c0b29ba606
4 changed files with 8 additions and 1 deletions
  1. +3
    -0
      defaults
  2. +1
    -0
      inputs
  3. +2
    -1
      tasks/qualimap.wdl
  4. +2
    -0
      workflow.wdl

+ 3
- 0
defaults View File

{
"regions": "oss://pgx-reference-data/reference/wes_bedfiles/agilent_v6/agilent_v6.bed"
}

+ 1
- 0
inputs View File

"{{ 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/"
} }

+ 2
- 1
tasks/qualimap.wdl View File

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}
>>> >>>



+ 2
- 0
workflow.wdl View File

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]
} }

Loading…
Cancel
Save