Generate the Panel of Normal files for TNseq and TNscope.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

mapping.wdl 905B

1234567891011121314151617181920212223242526272829303132333435
  1. task mapping {
  2. File ref_dir
  3. String fasta
  4. File fastq_1
  5. File fastq_2
  6. String SENTIEON_INSTALL_DIR
  7. String SENTIEON_LICENSE
  8. String group
  9. String sample
  10. String pl
  11. String docker
  12. String cluster_config
  13. String disk_size
  14. command <<<
  15. set -o pipefail
  16. set -e
  17. export SENTIEON_LICENSE=${SENTIEON_LICENSE}
  18. nt=$(nproc)
  19. ${SENTIEON_INSTALL_DIR}/bin/bwa mem -M -R "@RG\tID:${group}\tSM:${sample}\tPL:${pl}" -t $nt -K 10000000 ${ref_dir}/${fasta} ${fastq_1} ${fastq_2} | ${SENTIEON_INSTALL_DIR}/bin/sentieon util sort -o ${sample}.sorted.bam -t $nt --sam2bam -i -
  20. >>>
  21. runtime {
  22. docker: docker
  23. cluster: cluster_config
  24. systemDisk: "cloud_ssd 40"
  25. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  26. }
  27. output {
  28. File sorted_bam = "${sample}.sorted.bam"
  29. File sorted_bam_index = "${sample}.sorted.bam.bai"
  30. }
  31. }