# HG changeset patch
# User greg
# Date 1629911857 0
# Node ID 544b2ed99a9a0fc2b79883b16646fd0e9cec0fd1
# Parent fa304dc06f120f139210068b29ae63ef0f6e5235
Uploaded
diff -r fa304dc06f12 -r 544b2ed99a9a vsnp_get_snps.xml
--- a/vsnp_get_snps.xml Tue Aug 03 19:42:05 2021 +0000
+++ b/vsnp_get_snps.xml Wed Aug 25 17:17:37 2021 +0000
@@ -22,18 +22,20 @@
mkdir -p $output_json_snps_dir &&
mkdir -p $output_snps_dir &&
-#set dbkey = '?'
-#for $i in $input_vcf_collection:
+#if str($input_additional_zc_vcf_collection_cond.input_additional_zc_vcf_collection) =='yes':
+ #set dbkey = '?'
+ #for $i in $input_additional_zc_vcf_collection_cond.input_vcf_collection:
+ #if str($dbkey) == '?':
+ #set dbkey = $i.metadata.dbkey
+ #else if str($dbkey) != $i.metadata.dbkey:
+ >&2 echo "The dbkeys associated with the zero coverage VCF files with SNPs found in closely related isolate groups are not unique" && exit 1
+ #end if
+ #set vcf_identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier))
+ ln -s '${i}' '$input_vcf_dir/${vcf_identifier}' &&
+ #end for
#if str($dbkey) == '?':
- #set dbkey = $i.metadata.dbkey
- #else if str($dbkey) != $i.metadata.dbkey:
- >&2 echo "The dbkeys associated with the zero coverage VCF files with SNPs found in closely related isolate groups are not unique" && exit 1
+ >&2 echo "The dbkey must be set for the zero coverage VCF files with SNPs found in closely related isolate groups" && exit 1
#end if
- #set vcf_identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier))
- ln -s '${i}' '$input_vcf_dir/${vcf_identifier}' &&
-#end for
-#if str($dbkey) == '?':
- >&2 echo "The dbkey must be set for the zero coverage VCF files with SNPs found in closely related isolate groups" && exit 1
#end if
#if str($input_zc_vcf_type_cond.input_zc_vcf_type) == "single":
#set zc_vcf_identifier = re.sub('[^\s\w\-]', '_', str($input_zc_vcf.element_identifier))
@@ -90,7 +92,16 @@
-
+
+
+
+
+
+
+
+
+
+
@@ -145,6 +156,7 @@
+
@@ -173,6 +185,7 @@
+
@@ -202,6 +215,7 @@
+
@@ -232,6 +246,7 @@
+