SnpSift case control command for multiple samples
We are trying to write a script which can analyse multiple samples for SnpSift CaseControl. There is "+" symbol in the command to represent the no. of samples. How to define this option of the command in the script. Here is the script, we are trying to run, but it is not working.
!/bin/bash
for f1 in *vcf do java -jar SnpSift.jar caseControl "$f1+" $f1 > $f1_CC.vcf done
Please help with this.
• 1,545 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Just a few remarks:
My question is regarding how can I define no. of samples in the command in script so that there is no need to add "+" symbol manually.
You can't run
caseControlwithout a multi sample vcf.