Entering edit mode
4.0 years ago
kumari.indu31
•
0
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.
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
caseControl
without a multi sample vcf.