소스 검색

new cromwell

master
huangyechao 6 년 전
부모
커밋
ffe0529de3
12개의 변경된 파일57개의 추가작업 그리고 49개의 파일을 삭제
  1. +0
    -2
      README.md
  2. +1
    -1
      inputs
  3. +8
    -7
      tasks/BQSR.wdl
  4. +1
    -1
      tasks/Dedup.wdl
  5. +8
    -5
      tasks/Haplotyper.wdl
  6. +5
    -3
      tasks/Metrics.wdl
  7. +5
    -4
      tasks/Realigner.wdl
  8. +6
    -6
      tasks/TNscope.wdl
  9. +4
    -4
      tasks/TNseq.wdl
  10. +6
    -5
      tasks/corealigner.wdl
  11. +9
    -9
      tasks/deduped_Metrics.wdl
  12. +4
    -2
      tasks/mapping.wdl

+ 0
- 2
README.md 파일 보기

## README

**Author:** Huang Yechao **Author:** Huang Yechao


**E-mail:**17210700095@fudan.edu.cn **E-mail:**17210700095@fudan.edu.cn

+ 1
- 1
inputs 파일 보기

"{{ project_name }}.dbmills_dir": "oss://pgx-reference-data/GRCh38.d1.vd1/", "{{ project_name }}.dbmills_dir": "oss://pgx-reference-data/GRCh38.d1.vd1/",
"{{ project_name }}.db_mills": "Mills_and_1000G_gold_standard.indels.hg38.vcf", "{{ project_name }}.db_mills": "Mills_and_1000G_gold_standard.indels.hg38.vcf",
"{{ project_name }}.cluster_config": "{{ cluster if cluster != '' else 'OnDemand ecs.sn1ne.8xlarge img-ubuntu-vpc' }}", "{{ project_name }}.cluster_config": "{{ cluster if cluster != '' else 'OnDemand ecs.sn1ne.8xlarge img-ubuntu-vpc' }}",
"{{ project_name }}.docker": "localhost:5000/sentieon-genomics:v2018.08.01 oss://pgx-docker-images/dockers",
"{{ project_name }}.docker": "registry.cn-shanghai.aliyuncs.com/pgx-docker-registry/sentieon-genomics:v2018.08.01",
"{{ project_name }}.dbsnp_dir": "oss://pgx-reference-data/GRCh38.d1.vd1/", "{{ project_name }}.dbsnp_dir": "oss://pgx-reference-data/GRCh38.d1.vd1/",
"{{ project_name }}.sample": "{{ sample_name }}", "{{ project_name }}.sample": "{{ sample_name }}",
"{{ project_name }}.disk_size": "{{ disk_size }}", "{{ project_name }}.disk_size": "{{ disk_size }}",

+ 8
- 7
tasks/BQSR.wdl 파일 보기

task BQSR { task BQSR {
File ref_dir
File dbsnp_dir
File dbmills_dir
String sample String sample
String SENTIEON_INSTALL_DIR String SENTIEON_INSTALL_DIR
String fasta String fasta

File dbsnp_dir
String dbsnp String dbsnp
File dbmills_dir
String db_mills String db_mills
File realigned_bam File realigned_bam
File realigned_bam_index File realigned_bam_index


>>> >>>
runtime { runtime {
dockerTag:docker
cluster: cluster_config
systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
docker:docker
cluster: cluster_config
systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
} }


output { output {

+ 1
- 1
tasks/Dedup.wdl 파일 보기

${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt -i ${sorted_bam} --algo Dedup --rmdup --score_info ${sample}_score.txt --metrics ${sample}_dedup_metrics.txt ${sample}.sorted.deduped.bam ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt -i ${sorted_bam} --algo Dedup --rmdup --score_info ${sample}_score.txt --metrics ${sample}_dedup_metrics.txt ${sample}.sorted.deduped.bam
>>> >>>
runtime { runtime {
dockerTag:docker
docker:docker
cluster: cluster_config cluster: cluster_config
systemDisk: "cloud_ssd 40" systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"

+ 8
- 5
tasks/Haplotyper.wdl 파일 보기

task Haplotyper { task Haplotyper {
File ref_dir
File dbsnp_dir

String SENTIEON_INSTALL_DIR String SENTIEON_INSTALL_DIR
String fasta String fasta
File recaled_bam File recaled_bam
File recaled_bam_index File recaled_bam_index
File dbsnp_dir
String dbsnp String dbsnp
File ref_dir
String sample String sample
String docker String docker
String cluster_config String cluster_config
>>> >>>
runtime { runtime {
dockerTag:docker
docker:docker
cluster: cluster_config cluster: cluster_config
systemDisk: "cloud_ssd 40" systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
} }


output { output {
File vcf = "${sample}_hc.vcf"
File vcf_idx = "${sample}_hc.vcf.idx"
File vcf = "${sample}_hc.vcf"
File vcf_idx = "${sample}_hc.vcf.idx"
} }
} }



+ 5
- 3
tasks/Metrics.wdl 파일 보기

task Metrics{
task Metrics {


File ref_dir
String SENTIEON_INSTALL_DIR String SENTIEON_INSTALL_DIR
String sample String sample
String docker String docker
String cluster_config String cluster_config


String fasta String fasta
File ref_dir
File sorted_bam File sorted_bam
File sorted_bam_index File sorted_bam_index
String disk_size String disk_size
>>> >>>
runtime { runtime {
dockerTag:docker
docker:docker
cluster: cluster_config cluster: cluster_config
systemDisk: "cloud_ssd 40" systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"

+ 5
- 4
tasks/Realigner.wdl 파일 보기

task Realigner { task Realigner {


File ref_dir
File dbmills_dir

String SENTIEON_INSTALL_DIR String SENTIEON_INSTALL_DIR
String sample String sample
String fasta String fasta


File ref_dir
File Dedup_bam File Dedup_bam
File Dedup_bam_index File Dedup_bam_index
File dbmills_dir
String db_mills String db_mills
String docker String docker
String cluster_config String cluster_config
>>> >>>


runtime { runtime {
dockerTag:docker
cluster: cluster_config
docker:docker
cluster: cluster_config
systemDisk: "cloud_ssd 40" systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
} }

+ 6
- 6
tasks/TNscope.wdl 파일 보기

task {
task TNscope {

File ref_dir
File dbsnp_dir

String SENTIEON_INSTALL_DIR String SENTIEON_INSTALL_DIR
String tumor_name String tumor_name
String normal_name String normal_name
String cluster_config String cluster_config


String fasta String fasta
File ref_dir

File corealigner_bam File corealigner_bam
File corealigner_bam_index File corealigner_bam_index
File dbsnp_dir
String dbsnp String dbsnp
String disk_size String disk_size


} }


output { output {

File TNscope_vcf= "${sample}.TNscope.TN.vcf" File TNscope_vcf= "${sample}.TNscope.TN.vcf"
File TNscope_vcf_index = "${sample}.TNscope.TN.vcf.idx" File TNscope_vcf_index = "${sample}.TNscope.TN.vcf.idx"
} }

+ 4
- 4
tasks/TNseq.wdl 파일 보기

task {
task TNseq {
File ref_dir
File dbsnp_dir

String SENTIEON_INSTALL_DIR String SENTIEON_INSTALL_DIR
String tumor_name String tumor_name
String normal_name String normal_name
String cluster_config String cluster_config


String fasta String fasta
File ref_dir
File corealigner_bam File corealigner_bam
File corealigner_bam_index File corealigner_bam_index
File dbsnp_dir
String dbsnp String dbsnp
String disk_size String disk_size


} }


output { output {

File TNseq_vcf= "${sample}.TNseq.TN.vcf" File TNseq_vcf= "${sample}.TNseq.TN.vcf"
File TNseq_vcf_index = "${sample}.TNseq.TN.vcf.idx" File TNseq_vcf_index = "${sample}.TNseq.TN.vcf.idx"
} }

+ 6
- 5
tasks/corealigner.wdl 파일 보기

task {
task corealigner {
File ref_dir
File dbsnp_dir
File dbmills_dir

String sample String sample
String SENTIEON_INSTALL_DIR String SENTIEON_INSTALL_DIR
String docker String docker
String cluster_config String cluster_config
String fasta String fasta



File ref_dir
File dbsnp_dir
String dbsnp String dbsnp
File dbmills_dir
String db_mills String db_mills
File tumor_recaled_bam File tumor_recaled_bam
File tumor_recaled_bam_index File tumor_recaled_bam_index

+ 9
- 9
tasks/deduped_Metrics.wdl 파일 보기

task deduped_Metrics { task deduped_Metrics {


File ref_dir
String SENTIEON_INSTALL_DIR String SENTIEON_INSTALL_DIR
String sample String sample

String fasta String fasta
File ref_dir
File Dedup_bam File Dedup_bam
File Dedup_bam_index File Dedup_bam_index
String docker String docker




command <<< command <<<
set -o pipefail
set -e
export SENTIEON_LICENSE=192.168.0.55:8990
nt=$(nproc)
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt -i ${Dedup_bam} --algo CoverageMetrics --omit_base_output ${sample}_deduped_coverage_metrics --algo MeanQualityByCycle ${sample}_deduped_mq_metrics.txt --algo QualDistribution ${sample}_deduped_qd_metrics.txt --algo GCBias --summary ${sample}_deduped_gc_summary.txt ${sample}_deduped_gc_metrics.txt --algo AlignmentStat ${sample}_deduped_aln_metrics.txt --algo InsertSizeMetricAlgo ${sample}_deduped_is_metrics.txt
set -o pipefail
set -e
export SENTIEON_LICENSE=192.168.0.55:8990
nt=$(nproc)
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt -i ${Dedup_bam} --algo CoverageMetrics --omit_base_output ${sample}_deduped_coverage_metrics --algo MeanQualityByCycle ${sample}_deduped_mq_metrics.txt --algo QualDistribution ${sample}_deduped_qd_metrics.txt --algo GCBias --summary ${sample}_deduped_gc_summary.txt ${sample}_deduped_gc_metrics.txt --algo AlignmentStat ${sample}_deduped_aln_metrics.txt --algo InsertSizeMetricAlgo ${sample}_deduped_is_metrics.txt
>>> >>>


runtime { runtime {
dockerTag:docker
docker:docker
cluster: cluster_config cluster: cluster_config
systemDisk: "cloud_ssd 40" systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
} }


output { output {

+ 4
- 2
tasks/mapping.wdl 파일 보기

task mapping { task mapping {


File ref_dir
String fasta String fasta
File ref_dir
File fastq_1 File fastq_1
File fastq_2 File fastq_2


>>> >>>


runtime { runtime {
dockerTag:docker
docker:docker
cluster: cluster_config cluster: cluster_config
systemDisk: "cloud_ssd 40" systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"

Loading…
취소
저장