从RNAseq数据中call突变
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 line
909B

  1. task mapping {
  2. File SAref_dir
  3. File STref_dir
  4. File fasta
  5. File fastq_1
  6. File fastq_2
  7. String sample
  8. String SAdocker
  9. String cluster_config
  10. String disk_size
  11. command <<<
  12. set -o pipefail
  13. set -e
  14. STAR --genomeDir ${SAref_dir} --readFilesIn ${fastq_1} ${fastq_2} --readFilesCommand zcat --runThreadN 20 --outFileNamePrefix OnePass_
  15. genomeDir=./twoPass
  16. STAR --runMode genomeGenerate --genomeDir $genomeDir --genomeFastaFiles ${STref_dir}/${fasta} --sjdbFileChrStartEnd OnePass_SJ.out.tab --sjdbOverhang 75 --runThreadN 12
  17. STAR --genomeDir $genomeDir --readFilesIn ${fastq_1} ${fastq_2} --readFilesCommand zcat --runThreadN 20 --outFileNamePrefix ${sample}_
  18. >>>
  19. runtime {
  20. docker:SAdocker
  21. cluster: cluster_config
  22. systemDisk: "cloud_ssd 40"
  23. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  24. }
  25. output {
  26. File aligned_sam = "${sample}_Aligned.out.sam"
  27. }
  28. }