echo"Example: bash hisat.sh -p prefix -r /path/GRCh38 -a gatk"
exit 1
}
OPTIND=1 # Reset OPTIND
...
...
@@ -75,10 +75,10 @@ then
elif[[$algo=='gatk']]
then
module load gatk/3.7
$gvcflist=''
gvcflist=''
for i in*.bam;do
java -Djava.io.tmpdir=./ -Xmx32g-jar$GATK_JAR-R${reffa}-D${dbsnp}-T HaplotypeCaller -stand_call_conf 10 -A FisherStrand -A QualByDepth -A VariantType -A DepthPerAlleleBySample -A HaplotypeScore -A AlleleBalance -variant_index_type LINEAR -variant_index_parameter 128000 --emitRefConfidence GVCF -I$i-o${i}.gatk.g.vcf -nct 2 &