Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

4 lat temu
123456789101112131415161718192021222324252627282930313233343536
  1. task mapping {
  2. String sample
  3. File fastq_1
  4. File fastq_2
  5. String SENTIEON_INSTALL_DIR
  6. String SENTIEON_LICENSE
  7. String group
  8. String pl
  9. File ref_dir
  10. String fasta
  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. }