diff --git a/wdl/ChromosomeAlleleFrequencies.wdl b/wdl/ChromosomeAlleleFrequencies.wdl index d17e79b67..5d491988e 100644 --- a/wdl/ChromosomeAlleleFrequencies.wdl +++ b/wdl/ChromosomeAlleleFrequencies.wdl @@ -105,7 +105,11 @@ task ShardVcf { ~{contig}.vcf.gz \ ~{sv_per_shard} \ "vcf.shard." - + + # if there were no shards created just make an empty one + if [ ! -e vcf.shard.000000.vcf.gz ]; then + cp ~{contig}.vcf.gz vcf.shard.000000.vcf.gz + fi >>> #########################