選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

46 行
1.5KB

  1. task suppa2{
  2. String sample_id
  3. File fastq1
  4. File fastq2
  5. File suppa2_database
  6. String docker
  7. String cluster
  8. String disk_size
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. echo ${sample_id} > test.txt
  13. echo ${fastq1} >> test.txt
  14. echo ${fastq2} >>test.txt
  15. echo ${suppa2_database} >>test.txt
  16. # /software/salmon-1.5.2_linux_x86_64/bin/salmon quant -i ${suppa2_database}/gencode.v37.transcripts.salmon.index/ -l ISR --gcBias -1 ${fastq1} -2 ${fastq2} -p 16 -o ./${sample_id}_salmon
  17. # multipleFieldSelection.py -i ./${sample_id}_salmon/quant.sf -k 1 -f 4 -o ${sample_id}_iso_tpm.txt
  18. # sed 's@|ENSG.*|@@' ${sample_id}_iso_tpm.txt > ${sample_id}_iso_tpm_formatted.txt
  19. # suppa.py psiPerEvent -i ${suppa2_database}/gencode.v37.all.events.ioe -e ${sample_id}_iso_tpm_formatted.txt -o ${sample_id}_events
  20. # suppa.py psiPerIsoform -g ${suppa2_database}/gencode.v37.annotation.gtf -e ${sample_id}_iso_tpm_formatted.txt -o ${sample_id}
  21. >>>
  22. runtime {
  23. docker : docker
  24. cluster: cluster
  25. systemDisk: "cloud_ssd 40"
  26. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  27. }
  28. output {
  29. File suppa2_events = "test.txt"
  30. # File suppa2_events = "${sample_id}_events.psi"
  31. # File suppa2_isoform = "${sample_id}_events.psi"
  32. # File TPM = "${sample_id}_iso_tpm.txt"
  33. # File formatted_TPM = "${sample_id}_iso_tpm_formatted.txt"
  34. }
  35. }