I am running vSNP step 2 and it is saying that the process completed and that it saved the VCF files in default files but I can't find any output. I'm not getting any errors either. Here is my script:
Set paths
VCF_DIR="/xdisk/lilianasalvador/lucykelly/kristina_pipeline/SNP/vsnp_step1_output" REFERENCE="${VCF_DIR}/NC_002945v4.fasta"
Check if the directory exists
if [ ! -d "ππΆπΉπ·πΌπ
"];π‘βππππβπ"πΈππππ:π·πππππ‘πππ¦
VCF_DIR does not exist." exit 1 fi
Check if the reference file exists
if [ ! -f "π
πΈπΉπΈπ
πΈππΆπΈ"];π‘βππππβπ"πΈππππ:π
ππππππππππππ
REFERENCE does not exist." exit 1 fi
Process each VCF file
for VCF in "ππΆπΉπ·πΌπ
"/β.π£ππ;ππππ[βπ"
VCF" ]; then BASENAME=(πππ πππππ"
VCF" .vcf) echo "Processing $BASENAME..."
echo "Running command: vSNP_step2.py -v \"$VCF\" -r \"$REFERENCE\""
vSNP_step2.py -v "$VCF" -r "$REFERENCE" 2> "$VCF_DIR/${BASENAME}_error.log"
if [ $? -eq 0 ]; then
echo "Step 2 completed for $BASENAME"
else
echo "Error processing $BASENAME"
fi
fi
done
echo "All VCF files processed. Check output in vSNP default directories."
I am running vSNP step 2 and it is saying that the process completed and that it saved the VCF files in default files but I can't find any output. I'm not getting any errors either. Here is my script:
Set paths
VCF_DIR="/xdisk/lilianasalvador/lucykelly/kristina_pipeline/SNP/vsnp_step1_output" REFERENCE="${VCF_DIR}/NC_002945v4.fasta"
Check if the directory exists
if [ ! -d "ππΆπΉπ·πΌπ "];π‘βππππβπ"πΈππππ:π·πππππ‘πππ¦
VCF_DIR does not exist." exit 1 fi
Check if the reference file exists
if [ ! -f "π πΈπΉπΈπ πΈππΆπΈ"];π‘βππππβπ"πΈππππ:π ππππππππππππ
REFERENCE does not exist." exit 1 fi
Process each VCF file
for VCF in "ππΆπΉπ·πΌπ "/β.π£ππ;ππππ[βπ"
VCF" ]; then BASENAME=(πππ πππππ"
VCF" .vcf) echo "Processing $BASENAME..."
fi
done
echo "All VCF files processed. Check output in vSNP default directories."