Skip to content
Snippets Groups Projects
Unverified Commit 385a1dfc authored by Peter van 't Hof's avatar Peter van 't Hof Committed by GitHub
Browse files

Merge pull request #5 from biowdl/splitNCigarReads

add SplitNCigarReads
parents 8155c98c 9766b090
No related branches found
No related tags found
No related merge requests found
......@@ -194,3 +194,28 @@ task CombineGVCFs {
File output_gvcf_index = output_basename + ".vcf.gz.tbi"
}
}
task SplitNCigarReads {
String? preCommand
File input_bam
File ref_fasta
File ref_fasta_index
File ref_dict
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