Skip to content
Snippets Groups Projects
Commit 817cb4ce authored by Cats's avatar Cats
Browse files

add SplitNCigarReads

parent a3c50d51
No related branches found
No related tags found
1 merge request!5add SplitNCigarReads
......@@ -194,3 +194,26 @@ task CombineGVCFs {
File output_gvcf_index = output_basename + ".vcf.gz.tbi"
}
}
task SplitNCigarReads {
String? preCommand
File input_bam
File ref_fasta
String output_bam
String gatk_jar
command {
set -e -o pipefail
${preCommand}
java -Xms4G -jar ${gatk_jar} \
-I ${input_bam} \
-R ${ref_fasta} \
-O ${output_bam} # might have to be -o depending on GATK version
}
output {
File bam = output_bam
File bam_index = output_bam + ".bai"
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment