Skip to content
Snippets Groups Projects
Commit ab9dbf25 authored by ameyner2's avatar ameyner2
Browse files

Added fix of VCF output file names

parent baa4acd8
Loading
......@@ -41,8 +41,11 @@ then
# fix VCF output file names
cd $OUTPUT_DIR/${DATE}_${PROJECT_ID}_${FAMILY_ID}
mv ${PROJECT_ID}${FAMILY_ID}-gatk-haplotype-annotated.vcf.gz ${PROJECT_ID}_${FAMILY_ID}-gatk-haplotype-annotated.vcf.gz
mv ${PROJECT_ID}${FAMILY_ID}-gatk-haplotype-annotated.vcf.gz.tbi ${PROJECT_ID}_${FAMILY_ID}-gatk-haplotype-annotated.vcf.gz.tbi
if [ -e ${PROJECT_ID}${FAMILY_ID}-gatk-haplotype-annotated.vcf.gz ]
then
mv ${PROJECT_ID}${FAMILY_ID}-gatk-haplotype-annotated.vcf.gz ${PROJECT_ID}_${FAMILY_ID}-gatk-haplotype-annotated.vcf.gz
mv ${PROJECT_ID}${FAMILY_ID}-gatk-haplotype-annotated.vcf.gz.tbi ${PROJECT_ID}_${FAMILY_ID}-gatk-haplotype-annotated.vcf.gz.tbi
fi
else
echo $OUTPUT_DIR/${DATE}_${PROJECT_ID}_${FAMILY_ID} does not exist.
......
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