Skip to content

Commit

Permalink
Sort unresolved Manta VCF so that it can be indexed
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousTim committed Oct 11, 2024
1 parent 3e04cb8 commit ba05749
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wdl/TinyResolve.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ task ResolveManta {
pe=${discfiles[$i]}
sample_no=`printf %03d $i`
bash /opt/sv-pipeline/00_preprocessing/scripts/mantatloccheck.sh $vcf $pe ${sample_id} ~{mei_bed} ~{cytoband}
bcftools sort --output manta.unresolved.vcf.tmp --output-type v manta.unresolved.vcf
mv manta.unresolved.vcf.tmp manta.unresolved.vcf
if [[ ~{true='true' false='false' rm_cpx_type} = 'true' ]]; then
bcftools annotate --include 'INFO/SVTYPE != "CPX"' --keep-sites \
--remove 'INFO/CPX_TYPE' \
Expand Down

0 comments on commit ba05749

Please sign in to comment.