Sfoglia il codice sorgente

add --annotate and --faidx

master
YaqingLiu 4 anni fa
parent
commit
6780359295
4 ha cambiato i file con 11 aggiunte e 6 eliminazioni
  1. +2
    -1
      defaults
  2. +1
    -0
      inputs
  3. +2
    -1
      tasks/batch.wdl
  4. +6
    -4
      workflow.wdl

+ 2
- 1
defaults Vedi File

"docker": "registry.cn-shanghai.aliyuncs.com/pgx-docker-registry/cnvkit:0.9.7", "docker": "registry.cn-shanghai.aliyuncs.com/pgx-docker-registry/cnvkit:0.9.7",
"disk_size": "400", "disk_size": "400",
"cluster_config": "OnDemand bcs.a2.7xlarge img-ubuntu-vpc", "cluster_config": "OnDemand bcs.a2.7xlarge img-ubuntu-vpc",
"bed": "oss://pgx-reference-data/reference/wes_bedfiles/agilent_v6/SureSelect_Human_All_Exon_V6_r2.bed"
"bed": "oss://pgx-reference-data/reference/wes_bedfiles/agilent_v6/SureSelect_Human_All_Exon_V6_r2.bed",
"ref_flat": "oss://pgx-reference-data/GRCh38.d1.vd1/refFlat.txt"
} }

+ 1
- 0
inputs Vedi File

"{{ project_name }}.tumor_bai": {{ tumor_bai | tojson }}, "{{ project_name }}.tumor_bai": {{ tumor_bai | tojson }},
"{{ project_name }}.fasta": "{{ fasta }}", "{{ project_name }}.fasta": "{{ fasta }}",
"{{ project_name }}.ref_dir": "{{ ref_dir }}", "{{ project_name }}.ref_dir": "{{ ref_dir }}",
"{{ project_name }}.ref_dir": "{{ ref_flat }}",
"{{ project_name }}.docker": "{{ docker }}", "{{ project_name }}.docker": "{{ docker }}",
"{{ project_name }}.bed": "{{ bed }}", "{{ project_name }}.bed": "{{ bed }}",
"{{ project_name }}.disk_size": "{{ disk_size }}", "{{ project_name }}.disk_size": "{{ disk_size }}",

+ 2
- 1
tasks/batch.wdl Vedi File

File bed File bed
File ref_dir File ref_dir
String fasta String fasta
File ref_flat
File access_bed File access_bed
String docker String docker
String cluster_config String cluster_config
mkdir results mkdir results
cnvkit.py batch ${sep=' ' tumor_bam} --normal ${sep=' ' normal_bam} \ cnvkit.py batch ${sep=' ' tumor_bam} --normal ${sep=' ' normal_bam} \
--targets ${bed} \
--targets ${bed} --faidx --no-rebuild --annotate ${ref_flat} \
--fasta ${ref_dir}/${fasta} --access ${access_bed} \ --fasta ${ref_dir}/${fasta} --access ${access_bed} \
--output-reference ${sample_id}.reference.cnn --output-dir /cromwell_root/tmp/cnvkit/results/ \ --output-reference ${sample_id}.reference.cnn --output-dir /cromwell_root/tmp/cnvkit/results/ \
--diagram --scatter --diagram --scatter

+ 6
- 4
workflow.wdl Vedi File

File bed File bed
File ref_dir File ref_dir
String fasta String fasta
File ref_flat
String docker String docker
String cluster_config String cluster_config
String disk_size String disk_size


call access.access as access { call access.access as access {
input: input:
fasta=fasta,
ref_dir=ref_dir,
fasta = fasta,
ref_dir = ref_dir,
docker = docker, docker = docker,
cluster_config = cluster_config, cluster_config = cluster_config,
disk_size = disk_size disk_size = disk_size
call batch.batch as batch { call batch.batch as batch {
input: input:
sample_id = sample_id, sample_id = sample_id,
fasta=fasta,
ref_dir=ref_dir,
fasta = fasta,
ref_dir = ref_dir,
ref_flat = ref_flat,
tumor_bam = tumor_bam, tumor_bam = tumor_bam,
tumor_bai = tumor_bai, tumor_bai = tumor_bai,
normal_bam = normal_bam, normal_bam = normal_bam,

Loading…
Annulla
Salva