changeset 10:0a6c1cfe4dc8 draft

Uploaded
author mcharles
date Mon, 19 Jan 2015 04:33:21 -0500
parents 0e7c6fe60646
children 0c2743f66e4f
files rapsodyn/CreateMatrix.pl rapsodyn/CreateMatrix.xml rapsodyn/CreateMatrixMultiple.pl rapsodyn/CreateMatrixMultiple.xml rapsodyn/Galaxy-Workflow-rapsosnp_v1.20.ga rapsodyn/Galaxy-Workflow-rapsosnp_v1.20_-_10x_-_sam.ga rapsodyn/MergeLogFiles.pl rapsodyn/MergeLogFiles.xml rapsodyn/ParseBlastForUniqueMatch.pl rapsodyn/ParseBlastForUniqueMatch.xml rapsodyn/PileupVariant.pl rapsodyn/PileupVariant.xml rapsodyn/PrepareFastqLight.pl rapsodyn/PrepareFastqLight.xml rapsodyn/extractseq.pl rapsodyn/extractseq.xml rapsodyn/filtersam_mapped_and_unique.pl rapsodyn/filtersam_mapped_and_unique.xml rapsodyn/repository_dependencies.xml rapsodyn/tool_dependencies.xml
diffstat 20 files changed, 272 insertions(+), 3617 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rapsodyn/CreateMatrix.pl	Mon Jan 19 04:33:21 2015 -0500
@@ -0,0 +1,20 @@
+#!/usr/bin/perl
+#V1.0.0
+use strict;
+use warnings;
+use Getopt::Long;
+
+my $input_pileup_file;
+my $input_variant_file;
+my $input_variant_unique_file;
+
+GetOptions (
+"input_pileup_file=s" => \$input_pileup_file,
+"input_variant_file=s" => \$input_variant_file,
+"input_variant_unique_file=s" => \$input_variant_unique_file
+) or die("Error in command line arguments\n");
+
+
+
+print "$input_pileup_file\n$input_variant_file\n$input_variant_unique_file\n";
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rapsodyn/CreateMatrix.xml	Mon Jan 19 04:33:21 2015 -0500
@@ -0,0 +1,21 @@
+<tool id="CreateMatrix" name="CreateMatrix" version="1.00">
+<description>Create Genotyping Matrix</description>
+<command interpreter="perl">
+	CreateMatrix.pl -input_pileup_file $input_pileup_file -input_variant_file $input_variant_file -input_variant_unique_file $input_variant_unique_file > $output_file 
+</command>
+<inputs>
+	<param name="input_pileup_file"  type="data" format="pileup" label="Select suitable PILEUP files from your history"/>
+	<param name="input_variant_file"  type="data" format="pileup" label="Select suitable VARIANT files from your history"/>
+	<param name="input_variant_unique_file"  type="data" format="pileup" label="Select suitable VARIANT UNIQUE files from your history"/>
+	
+</inputs>
+<outputs>
+	<data name="output_file" format="txt" label="MATRIX on ${on_string}" />
+</outputs>
+
+<help>
+
+
+
+</help>
+</tool>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rapsodyn/CreateMatrixMultiple.pl	Mon Jan 19 04:33:21 2015 -0500
@@ -0,0 +1,17 @@
+#!/usr/bin/perl
+#V1.0.0
+use strict;
+use warnings;
+use Getopt::Long;
+
+
+my $input_matrix_files;
+GetOptions (
+"input_matrix_files=s" => \$input_matrix_files
+) or die("Error in command line arguments\n");
+
+my @files = split(/,/,$input_matrix_files);
+for (my $i=0;$i<=$#files;$i++){
+	print $files[$i],"\n";
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rapsodyn/CreateMatrixMultiple.xml	Mon Jan 19 04:33:21 2015 -0500
@@ -0,0 +1,18 @@
+<tool id="CreateMatrixMultiple" name="CreateMatrixMultiple" version="1.00">
+<description>Create Global Genotyping Matrix</description>
+<command interpreter="perl">
+	CreateMatrixMultiple.pl -input_matrix_files $input_matrix_files > $output_file 
+</command>
+<inputs>
+	<param name="input_matrix_files"  type="data" format="txt" multiple="true" label="Select suitable MATRIX files from your history"/>
+</inputs>
+<outputs>
+	<data name="output_file" format="txt" label="GLOBAL MATRIX on ${on_string}" />
+</outputs>
+
+<help>
+
+
+
+</help>
+</tool>
--- a/rapsodyn/Galaxy-Workflow-rapsosnp_v1.20.ga	Mon Oct 20 05:58:31 2014 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,604 +0,0 @@
-{
-    "a_galaxy_workflow": "true", 
-    "annotation": "", 
-    "format-version": "0.1", 
-    "name": "rapsosnp v1.20", 
-    "steps": {
-        "0": {
-            "annotation": "", 
-            "id": 0, 
-            "input_connections": {}, 
-            "inputs": [
-                {
-                    "description": "", 
-                    "name": "ASSEMBLY"
-                }
-            ], 
-            "name": "Input dataset", 
-            "outputs": [], 
-            "position": {
-                "left": 200, 
-                "top": 221
-            }, 
-            "tool_errors": null, 
-            "tool_id": null, 
-            "tool_state": "{\"name\": \"ASSEMBLY\"}", 
-            "tool_version": null, 
-            "type": "data_input", 
-            "user_outputs": []
-        }, 
-        "1": {
-            "annotation": "", 
-            "id": 1, 
-            "input_connections": {}, 
-            "inputs": [
-                {
-                    "description": "", 
-                    "name": "READ1"
-                }
-            ], 
-            "name": "Input dataset", 
-            "outputs": [], 
-            "position": {
-                "left": 200, 
-                "top": 306.76666259765625
-            }, 
-            "tool_errors": null, 
-            "tool_id": null, 
-            "tool_state": "{\"name\": \"READ1\"}", 
-            "tool_version": null, 
-            "type": "data_input", 
-            "user_outputs": []
-        }, 
-        "2": {
-            "annotation": "", 
-            "id": 2, 
-            "input_connections": {}, 
-            "inputs": [
-                {
-                    "description": "", 
-                    "name": "READ2"
-                }
-            ], 
-            "name": "Input dataset", 
-            "outputs": [], 
-            "position": {
-                "left": 200, 
-                "top": 392.5333251953125
-            }, 
-            "tool_errors": null, 
-            "tool_id": null, 
-            "tool_state": "{\"name\": \"READ2\"}", 
-            "tool_version": null, 
-            "type": "data_input", 
-            "user_outputs": []
-        }, 
-        "3": {
-            "annotation": "", 
-            "id": 3, 
-            "input_connections": {}, 
-            "inputs": [
-                {
-                    "description": "", 
-                    "name": "DUBIOUS"
-                }
-            ], 
-            "name": "Input dataset", 
-            "outputs": [], 
-            "position": {
-                "left": 200, 
-                "top": 478.29998779296875
-            }, 
-            "tool_errors": null, 
-            "tool_id": null, 
-            "tool_state": "{\"name\": \"DUBIOUS\"}", 
-            "tool_version": null, 
-            "type": "data_input", 
-            "user_outputs": []
-        }, 
-        "4": {
-            "annotation": "", 
-            "id": 4, 
-            "input_connections": {
-                "input_fasta": {
-                    "id": 0, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "fastaGroomerForMakeBlastdb", 
-            "outputs": [
-                {
-                    "name": "output_fasta", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 427.76666259765625, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "fastaGroomerForMakeBlastdb", 
-            "tool_state": "{\"input_fasta\": \"null\", \"__rerun_remap_job_id__\": null, \"__page__\": 0}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "5": {
-            "annotation": "", 
-            "id": 5, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 1, 
-                    "output_name": "output"
-                }, 
-                "input_read2_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 427.76666259765625, 
-                "top": 351.76666259765625
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "6": {
-            "annotation": "", 
-            "id": 6, 
-            "input_connections": {
-                "input_file": {
-                    "id": 4, 
-                    "output_name": "output_fasta"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ makeblastdb", 
-            "outputs": [
-                {
-                    "name": "outfile", 
-                    "type": "data"
-                }
-            ], 
-            "position": {
-                "left": 755.5333251953125, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_makeblastdb/0.1.00", 
-            "tool_state": "{\"__page__\": 0, \"mask_data_file\": \"null\", \"input_file\": \"null\", \"dbtype\": \"\\\"nucl\\\"\", \"__rerun_remap_job_id__\": null, \"hash_index\": \"\\\"True\\\"\", \"tax\": \"{\\\"taxselect\\\": \\\"\\\", \\\"__current_case__\\\": 0}\", \"title\": \"\\\"\\\"\", \"parse_seqids\": \"\\\"False\\\"\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "7": {
-            "annotation": "", 
-            "id": 7, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 0, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 5, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 5, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 755.5333251953125, 
-                "top": 378.76666259765625
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "8": {
-            "annotation": "", 
-            "id": 8, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 7, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 1083.300048828125, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "9": {
-            "annotation": "", 
-            "id": 9, 
-            "input_connections": {
-                "source|input1": {
-                    "id": 8, 
-                    "output_name": "output_sam_file"
-                }, 
-                "source|ref_file": {
-                    "id": 0, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "SAM-to-BAM", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "bam"
-                }
-            ], 
-            "position": {
-                "left": 1411.066650390625, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/sam_to_bam/sam_to_bam/1.1.4", 
-            "tool_state": "{\"source\": \"{\\\"index_source\\\": \\\"history\\\", \\\"ref_file\\\": null, \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"__rerun_remap_job_id__\": null, \"__page__\": 0}", 
-            "tool_version": "1.1.4", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "10": {
-            "annotation": "", 
-            "id": 10, 
-            "input_connections": {
-                "reference_source|input_bams_0|input_bam": {
-                    "id": 9, 
-                    "output_name": "output1"
-                }, 
-                "reference_source|ref_file": {
-                    "id": 0, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "MPileup", 
-            "outputs": [
-                {
-                    "name": "output_mpileup", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "output_log", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 1638.8333740234375, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/samtools_mpileup/samtools_mpileup/0.0.3", 
-            "tool_state": "{\"__page__\": 0, \"advanced_options\": \"{\\\"max_reads_per_bam\\\": \\\"250\\\", \\\"advanced_options_selector\\\": \\\"advanced\\\", \\\"extended_BAQ_computation\\\": \\\"False\\\", \\\"region_string\\\": \\\"\\\", \\\"output_per_sample_strand_bias_p_value\\\": \\\"False\\\", \\\"minimum_base_quality\\\": \\\"0\\\", \\\"disable_probabilistic_realignment\\\": \\\"False\\\", \\\"skip_anomalous_read_pairs\\\": \\\"False\\\", \\\"minimum_mapping_quality\\\": \\\"0\\\", \\\"output_per_sample_read_depth\\\": \\\"False\\\", \\\"__current_case__\\\": 0, \\\"position_list\\\": null, \\\"coefficient_for_downgrading\\\": \\\"0\\\"}\", \"__rerun_remap_job_id__\": null, \"genotype_likelihood_computation_type\": \"{\\\"genotype_likelihood_computation_type_selector\\\": \\\"do_not_perform_genotype_likelihood_computation\\\", \\\"__current_case__\\\": 1}\", \"reference_source\": \"{\\\"ref_file\\\": null, \\\"reference_source_selector\\\": \\\"history\\\", \\\"input_bams\\\": [{\\\"__index__\\\": 0, \\\"input_bam\\\": null}], \\\"__current_case__\\\": 1}\"}", 
-            "tool_version": "0.0.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "11": {
-            "annotation": "", 
-            "id": 11, 
-            "input_connections": {
-                "input_pileup_file": {
-                    "id": 10, 
-                    "output_name": "output_mpileup"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PileupVariant", 
-            "outputs": [
-                {
-                    "name": "output_pileup_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 1964.60009765625, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PileupVariant", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_pileup_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "12": {
-            "annotation": "", 
-            "id": 12, 
-            "input_connections": {
-                "input_list1": {
-                    "id": 11, 
-                    "output_name": "output_pileup_file"
-                }, 
-                "input_list2": {
-                    "id": 3, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "listfiltering", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2292.36669921875, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "listfiltering", 
-            "tool_state": "{\"__page__\": 0, \"input_list2\": \"null\", \"input_list1\": \"null\", \"__rerun_remap_job_id__\": null, \"nb_col\": \"\\\"2\\\"\", \"type\": \"\\\"specific\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "13": {
-            "annotation": "", 
-            "id": 13, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 0, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 12, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 2561.13330078125, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "14": {
-            "annotation": "", 
-            "id": 14, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 6, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 13, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 2888.89990234375, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "15": {
-            "annotation": "", 
-            "id": 15, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 14, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 12, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 3190.666748046875, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "16": {
-            "annotation": "", 
-            "id": 16, 
-            "input_connections": {
-                "input_file": {
-                    "id": 15, 
-                    "output_name": "output_variant_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "mpileupfilterandstat", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 3518.433349609375, 
-                "top": 221
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "mpileupfilterandstat", 
-            "tool_state": "{\"__page__\": 0, \"stat\": \"{\\\"stat_dist_step\\\": \\\"50\\\", \\\"stat_min_depth_step\\\": \\\"4\\\", \\\"stat_max_depth_max\\\": \\\"200\\\", \\\"stat_min_depth_max\\\": \\\"20\\\", \\\"stat_freq_max\\\": \\\"1.0\\\", \\\"stat_min_depth_min\\\": \\\"4\\\", \\\"stat_max_depth_min\\\": \\\"200\\\", \\\"do_stat\\\": \\\"YES\\\", \\\"stat_dist_min\\\": \\\"0\\\", \\\"__current_case__\\\": 0, \\\"stat_max_depth_step\\\": \\\"100\\\", \\\"stat_dist_max\\\": \\\"50\\\", \\\"stat_freq_step\\\": \\\"0.2\\\", \\\"stat_freq_min\\\": \\\"0.8\\\"}\", \"input_file\": \"null\", \"min_frequency\": \"\\\"0.0\\\"\", \"min_depth\": \"\\\"1\\\"\", \"__rerun_remap_job_id__\": null, \"min_forward_and_reverse\": \"\\\"0\\\"\", \"max_depth\": \"\\\"500\\\"\", \"min_distance\": \"\\\"0\\\"\"}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "17": {
-            "annotation": "", 
-            "id": 17, 
-            "input_connections": {
-                "input_files": [
-                    {
-                        "id": 5, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 8, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 11, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 12, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 15, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 16, 
-                        "output_name": "log_file"
-                    }
-                ]
-            }, 
-            "inputs": [], 
-            "name": "MergeMultiFile", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 3846.2001953125, 
-                "top": 221
-            }, 
-            "post_job_actions": {
-                "RenameDatasetActionoutput_file": {
-                    "action_arguments": {
-                        "newname": "LOGS"
-                    }, 
-                    "action_type": "RenameDatasetAction", 
-                    "output_name": "output_file"
-                }
-            }, 
-            "tool_errors": null, 
-            "tool_id": "MergeMultiFile", 
-            "tool_state": "{\"out_format\": \"\\\"txt\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_files\": \"null\"}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }
-    }
-}
\ No newline at end of file
--- a/rapsodyn/Galaxy-Workflow-rapsosnp_v1.20_-_10x_-_sam.ga	Mon Oct 20 05:58:31 2014 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,2967 +0,0 @@
-{
-    "a_galaxy_workflow": "true", 
-    "annotation": "", 
-    "format-version": "0.1", 
-    "name": "rapsosnp v1.20 - 10x - sam", 
-    "steps": {
-        "0": {
-            "annotation": "", 
-            "id": 0, 
-            "input_connections": {}, 
-            "inputs": [
-                {
-                    "description": "", 
-                    "name": "READ1"
-                }
-            ], 
-            "name": "Input dataset", 
-            "outputs": [], 
-            "position": {
-                "left": 279, 
-                "top": 617
-            }, 
-            "tool_errors": null, 
-            "tool_id": null, 
-            "tool_state": "{\"name\": \"READ1\"}", 
-            "tool_version": null, 
-            "type": "data_input", 
-            "user_outputs": []
-        }, 
-        "1": {
-            "annotation": "", 
-            "id": 1, 
-            "input_connections": {}, 
-            "inputs": [
-                {
-                    "description": "", 
-                    "name": "READ2"
-                }
-            ], 
-            "name": "Input dataset", 
-            "outputs": [], 
-            "position": {
-                "left": 276, 
-                "top": 713
-            }, 
-            "tool_errors": null, 
-            "tool_id": null, 
-            "tool_state": "{\"name\": \"READ2\"}", 
-            "tool_version": null, 
-            "type": "data_input", 
-            "user_outputs": []
-        }, 
-        "2": {
-            "annotation": "", 
-            "id": 2, 
-            "input_connections": {}, 
-            "inputs": [
-                {
-                    "description": "", 
-                    "name": "ASSEMBLY"
-                }
-            ], 
-            "name": "Input dataset", 
-            "outputs": [], 
-            "position": {
-                "left": 3921, 
-                "top": 392
-            }, 
-            "tool_errors": null, 
-            "tool_id": null, 
-            "tool_state": "{\"name\": \"ASSEMBLY\"}", 
-            "tool_version": null, 
-            "type": "data_input", 
-            "user_outputs": []
-        }, 
-        "3": {
-            "annotation": "", 
-            "id": 3, 
-            "input_connections": {}, 
-            "inputs": [
-                {
-                    "description": "", 
-                    "name": "DUBIOUS"
-                }
-            ], 
-            "name": "Input dataset", 
-            "outputs": [], 
-            "position": {
-                "left": 3415, 
-                "top": 1131
-            }, 
-            "tool_errors": null, 
-            "tool_id": null, 
-            "tool_state": "{\"name\": \"DUBIOUS\"}", 
-            "tool_version": null, 
-            "type": "data_input", 
-            "user_outputs": []
-        }, 
-        "4": {
-            "annotation": "", 
-            "id": 4, 
-            "input_connections": {
-                "input_file": {
-                    "id": 0, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "SplitFile10x", 
-            "outputs": [
-                {
-                    "name": "output_file1", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file2", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file3", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file4", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file5", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file6", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file7", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file8", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file9", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file10", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 590, 
-                "top": 338
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "SplitFile10x", 
-            "tool_state": "{\"out_format\": \"\\\"pileup\\\"\", \"line_number\": \"\\\"4\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "5": {
-            "annotation": "", 
-            "id": 5, 
-            "input_connections": {
-                "input_file": {
-                    "id": 1, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "SplitFile10x", 
-            "outputs": [
-                {
-                    "name": "output_file1", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file2", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file3", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file4", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file5", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file6", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file7", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file8", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file9", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file10", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 581, 
-                "top": 871
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "SplitFile10x", 
-            "tool_state": "{\"out_format\": \"\\\"pileup\\\"\", \"line_number\": \"\\\"4\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "6": {
-            "annotation": "", 
-            "id": 6, 
-            "input_connections": {
-                "input_fasta": {
-                    "id": 2, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "fastaGroomerForMakeBlastdb", 
-            "outputs": [
-                {
-                    "name": "output_fasta", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 4471.25, 
-                "top": 231.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "fastaGroomerForMakeBlastdb", 
-            "tool_state": "{\"input_fasta\": \"null\", \"__rerun_remap_job_id__\": null, \"__page__\": 0}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "7": {
-            "annotation": "", 
-            "id": 7, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 4, 
-                    "output_name": "output_file1"
-                }, 
-                "input_read2_file": {
-                    "id": 5, 
-                    "output_name": "output_file1"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 936.933349609375, 
-                "top": 338.43333435058594
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "8": {
-            "annotation": "", 
-            "id": 8, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 4, 
-                    "output_name": "output_file2"
-                }, 
-                "input_read2_file": {
-                    "id": 5, 
-                    "output_name": "output_file2"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 943.933349609375, 
-                "top": 585.4333343505859
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "9": {
-            "annotation": "", 
-            "id": 9, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 4, 
-                    "output_name": "output_file3"
-                }, 
-                "input_read2_file": {
-                    "id": 5, 
-                    "output_name": "output_file3"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 947.933349609375, 
-                "top": 812.433349609375
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "10": {
-            "annotation": "", 
-            "id": 10, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 4, 
-                    "output_name": "output_file6"
-                }, 
-                "input_read2_file": {
-                    "id": 5, 
-                    "output_name": "output_file6"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 1267.933349609375, 
-                "top": 343.43333435058594
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "11": {
-            "annotation": "", 
-            "id": 11, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 4, 
-                    "output_name": "output_file7"
-                }, 
-                "input_read2_file": {
-                    "id": 5, 
-                    "output_name": "output_file7"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 1261.933349609375, 
-                "top": 587.4333343505859
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "12": {
-            "annotation": "", 
-            "id": 12, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 4, 
-                    "output_name": "output_file4"
-                }, 
-                "input_read2_file": {
-                    "id": 5, 
-                    "output_name": "output_file4"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 954.933349609375, 
-                "top": 1044.433349609375
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "13": {
-            "annotation": "", 
-            "id": 13, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 4, 
-                    "output_name": "output_file8"
-                }, 
-                "input_read2_file": {
-                    "id": 5, 
-                    "output_name": "output_file8"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 1265.933349609375, 
-                "top": 815.433349609375
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "14": {
-            "annotation": "", 
-            "id": 14, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 4, 
-                    "output_name": "output_file5"
-                }, 
-                "input_read2_file": {
-                    "id": 5, 
-                    "output_name": "output_file5"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 953.933349609375, 
-                "top": 1282.433349609375
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "15": {
-            "annotation": "", 
-            "id": 15, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 4, 
-                    "output_name": "output_file9"
-                }, 
-                "input_read2_file": {
-                    "id": 5, 
-                    "output_name": "output_file9"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 1265.933349609375, 
-                "top": 1043.433349609375
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "16": {
-            "annotation": "", 
-            "id": 16, 
-            "input_connections": {
-                "input_read1_file": {
-                    "id": 4, 
-                    "output_name": "output_file10"
-                }, 
-                "input_read2_file": {
-                    "id": 5, 
-                    "output_name": "output_file10"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PrepareFastqLight", 
-            "outputs": [
-                {
-                    "name": "output_read1_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "output_read2_file", 
-                    "type": "fastqsanger"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 1270.933349609375, 
-                "top": 1281.433349609375
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PrepareFastqLight", 
-            "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"auto\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", 
-            "tool_version": "1.03", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "17": {
-            "annotation": "", 
-            "id": 17, 
-            "input_connections": {
-                "input_file": {
-                    "id": 6, 
-                    "output_name": "output_fasta"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ makeblastdb", 
-            "outputs": [
-                {
-                    "name": "outfile", 
-                    "type": "data"
-                }
-            ], 
-            "position": {
-                "left": 5062.25, 
-                "top": 221.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_makeblastdb/0.1.00", 
-            "tool_state": "{\"__page__\": 0, \"mask_data_file\": \"null\", \"input_file\": \"null\", \"dbtype\": \"\\\"nucl\\\"\", \"__rerun_remap_job_id__\": null, \"hash_index\": \"\\\"True\\\"\", \"tax\": \"{\\\"taxselect\\\": \\\"\\\", \\\"__current_case__\\\": 0}\", \"title\": \"\\\"\\\"\", \"parse_seqids\": \"\\\"False\\\"\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "18": {
-            "annotation": "", 
-            "id": 18, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 7, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 7, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 1576.25, 
-                "top": 346.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "19": {
-            "annotation": "", 
-            "id": 19, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 8, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 8, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 1571.25, 
-                "top": 589.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "20": {
-            "annotation": "", 
-            "id": 20, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 9, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 9, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 1562.25, 
-                "top": 819.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "21": {
-            "annotation": "", 
-            "id": 21, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 10, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 10, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 1826.25, 
-                "top": 350.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "22": {
-            "annotation": "", 
-            "id": 22, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 11, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 11, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 1824.25, 
-                "top": 592.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "23": {
-            "annotation": "", 
-            "id": 23, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 12, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 12, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 1562.25, 
-                "top": 1045.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "24": {
-            "annotation": "", 
-            "id": 24, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 13, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 13, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 1818.25, 
-                "top": 821.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "25": {
-            "annotation": "", 
-            "id": 25, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 14, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 14, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 1563.25, 
-                "top": 1284.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "26": {
-            "annotation": "", 
-            "id": 26, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 15, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 15, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 1813.25, 
-                "top": 1044.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "27": {
-            "annotation": "", 
-            "id": 27, 
-            "input_connections": {
-                "genomeSource|ownFile": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "paired|input1": {
-                    "id": 16, 
-                    "output_name": "output_read1_file"
-                }, 
-                "paired|input2": {
-                    "id": 16, 
-                    "output_name": "output_read2_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "Map with BWA for Illumina", 
-            "outputs": [
-                {
-                    "name": "output", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 1807.25, 
-                "top": 1286.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/bwa_wrappers/bwa_wrapper/1.2.3", 
-            "tool_state": "{\"genomeSource\": \"{\\\"refGenomeSource\\\": \\\"history\\\", \\\"ownFile\\\": null, \\\"__current_case__\\\": 1}\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"paired\": \"{\\\"input2\\\": null, \\\"sPaired\\\": \\\"paired\\\", \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"params\": \"{\\\"__current_case__\\\": 0, \\\"source_select\\\": \\\"pre_set\\\"}\", \"suppressHeader\": \"\\\"False\\\"\"}", 
-            "tool_version": "1.2.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "28": {
-            "annotation": "", 
-            "id": 28, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 18, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2096.75, 
-                "top": 353.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "29": {
-            "annotation": "", 
-            "id": 29, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 19, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2093.75, 
-                "top": 596.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "30": {
-            "annotation": "", 
-            "id": 30, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 20, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2091.75, 
-                "top": 827.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "31": {
-            "annotation": "", 
-            "id": 31, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 21, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2443.75, 
-                "top": 356.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "32": {
-            "annotation": "", 
-            "id": 32, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 22, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2438.75, 
-                "top": 596.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "33": {
-            "annotation": "", 
-            "id": 33, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 23, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2087.75, 
-                "top": 1046.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "34": {
-            "annotation": "", 
-            "id": 34, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 24, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2432.75, 
-                "top": 826.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "35": {
-            "annotation": "", 
-            "id": 35, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 25, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2089.75, 
-                "top": 1289.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "36": {
-            "annotation": "", 
-            "id": 36, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 26, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2436.75, 
-                "top": 1048.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "37": {
-            "annotation": "", 
-            "id": 37, 
-            "input_connections": {
-                "input_sam_file": {
-                    "id": 27, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "filtersam_mapped_and_unique", 
-            "outputs": [
-                {
-                    "name": "output_sam_file", 
-                    "type": "sam"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 2437.75, 
-                "top": 1289.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "filtersam_mapped_and_unique", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_sam_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "38": {
-            "annotation": "", 
-            "id": 38, 
-            "input_connections": {
-                "input_files": [
-                    {
-                        "id": 28, 
-                        "output_name": "output_sam_file"
-                    }, 
-                    {
-                        "id": 29, 
-                        "output_name": "output_sam_file"
-                    }, 
-                    {
-                        "id": 30, 
-                        "output_name": "output_sam_file"
-                    }, 
-                    {
-                        "id": 31, 
-                        "output_name": "output_sam_file"
-                    }, 
-                    {
-                        "id": 32, 
-                        "output_name": "output_sam_file"
-                    }, 
-                    {
-                        "id": 33, 
-                        "output_name": "output_sam_file"
-                    }, 
-                    {
-                        "id": 34, 
-                        "output_name": "output_sam_file"
-                    }, 
-                    {
-                        "id": 35, 
-                        "output_name": "output_sam_file"
-                    }, 
-                    {
-                        "id": 36, 
-                        "output_name": "output_sam_file"
-                    }, 
-                    {
-                        "id": 37, 
-                        "output_name": "output_sam_file"
-                    }
-                ]
-            }, 
-            "inputs": [], 
-            "name": "MergeSamFiles", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "sam"
-                }
-            ], 
-            "position": {
-                "left": 2900.25, 
-                "top": 806.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "MergeSamFiles", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_files\": \"null\"}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "39": {
-            "annotation": "", 
-            "id": 39, 
-            "input_connections": {
-                "source|input1": {
-                    "id": 38, 
-                    "output_name": "output_file"
-                }, 
-                "source|ref_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "SAM-to-BAM", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "bam"
-                }
-            ], 
-            "position": {
-                "left": 3233.25, 
-                "top": 807.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/sam_to_bam/sam_to_bam/1.1.4", 
-            "tool_state": "{\"source\": \"{\\\"index_source\\\": \\\"history\\\", \\\"ref_file\\\": null, \\\"input1\\\": null, \\\"__current_case__\\\": 1}\", \"__rerun_remap_job_id__\": null, \"__page__\": 0}", 
-            "tool_version": "1.1.4", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "40": {
-            "annotation": "", 
-            "id": 40, 
-            "input_connections": {
-                "reference_source|input_bams_0|input_bam": {
-                    "id": 39, 
-                    "output_name": "output1"
-                }, 
-                "reference_source|ref_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "MPileup", 
-            "outputs": [
-                {
-                    "name": "output_mpileup", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "output_log", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 3462.25, 
-                "top": 809.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/samtools_mpileup/samtools_mpileup/0.0.3", 
-            "tool_state": "{\"__page__\": 0, \"advanced_options\": \"{\\\"max_reads_per_bam\\\": \\\"250\\\", \\\"advanced_options_selector\\\": \\\"advanced\\\", \\\"extended_BAQ_computation\\\": \\\"False\\\", \\\"region_string\\\": \\\"\\\", \\\"output_per_sample_strand_bias_p_value\\\": \\\"False\\\", \\\"minimum_base_quality\\\": \\\"0\\\", \\\"disable_probabilistic_realignment\\\": \\\"False\\\", \\\"skip_anomalous_read_pairs\\\": \\\"False\\\", \\\"minimum_mapping_quality\\\": \\\"0\\\", \\\"output_per_sample_read_depth\\\": \\\"False\\\", \\\"__current_case__\\\": 0, \\\"position_list\\\": null, \\\"coefficient_for_downgrading\\\": \\\"0\\\"}\", \"__rerun_remap_job_id__\": null, \"genotype_likelihood_computation_type\": \"{\\\"genotype_likelihood_computation_type_selector\\\": \\\"do_not_perform_genotype_likelihood_computation\\\", \\\"__current_case__\\\": 1}\", \"reference_source\": \"{\\\"ref_file\\\": null, \\\"reference_source_selector\\\": \\\"history\\\", \\\"input_bams\\\": [{\\\"__index__\\\": 0, \\\"input_bam\\\": null}], \\\"__current_case__\\\": 1}\"}", 
-            "tool_version": "0.0.3", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "41": {
-            "annotation": "", 
-            "id": 41, 
-            "input_connections": {
-                "input_pileup_file": {
-                    "id": 40, 
-                    "output_name": "output_mpileup"
-                }
-            }, 
-            "inputs": [], 
-            "name": "PileupVariant", 
-            "outputs": [
-                {
-                    "name": "output_pileup_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 3743.25, 
-                "top": 901.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "PileupVariant", 
-            "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_pileup_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "42": {
-            "annotation": "", 
-            "id": 42, 
-            "input_connections": {
-                "input_list1": {
-                    "id": 41, 
-                    "output_name": "output_pileup_file"
-                }, 
-                "input_list2": {
-                    "id": 3, 
-                    "output_name": "output"
-                }
-            }, 
-            "inputs": [], 
-            "name": "listfiltering", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 4107.25, 
-                "top": 905.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "listfiltering", 
-            "tool_state": "{\"__page__\": 0, \"input_list2\": \"null\", \"input_list1\": \"null\", \"__rerun_remap_job_id__\": null, \"nb_col\": \"\\\"2\\\"\", \"type\": \"\\\"specific\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "43": {
-            "annotation": "", 
-            "id": 43, 
-            "input_connections": {
-                "input_file": {
-                    "id": 42, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "SplitFile10x", 
-            "outputs": [
-                {
-                    "name": "output_file1", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file2", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file3", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file4", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file5", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file6", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file7", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file8", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file9", 
-                    "type": "txt"
-                }, 
-                {
-                    "name": "output_file10", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 4405.25, 
-                "top": 635.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "SplitFile10x", 
-            "tool_state": "{\"out_format\": \"\\\"pileup\\\"\", \"line_number\": \"\\\"4\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "44": {
-            "annotation": "", 
-            "id": 44, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file1"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 4738.25, 
-                "top": 471.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "45": {
-            "annotation": "", 
-            "id": 45, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file2"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 4739.25, 
-                "top": 655.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "46": {
-            "annotation": "", 
-            "id": 46, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file3"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 4733.25, 
-                "top": 855.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "47": {
-            "annotation": "", 
-            "id": 47, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file4"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 4737.25, 
-                "top": 1051.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "48": {
-            "annotation": "", 
-            "id": 48, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file5"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 4742.25, 
-                "top": 1228.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "49": {
-            "annotation": "", 
-            "id": 49, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file6"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 5066.25, 
-                "top": 474.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "50": {
-            "annotation": "", 
-            "id": 50, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file7"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 5069.25, 
-                "top": 656.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "51": {
-            "annotation": "", 
-            "id": 51, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file8"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 5073.25, 
-                "top": 858.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "52": {
-            "annotation": "", 
-            "id": 52, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file9"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 5071.25, 
-                "top": 1046.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "53": {
-            "annotation": "", 
-            "id": 53, 
-            "input_connections": {
-                "input_assembly_file": {
-                    "id": 2, 
-                    "output_name": "output"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file10"
-                }
-            }, 
-            "inputs": [], 
-            "name": "extractseq", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "fasta"
-                }
-            ], 
-            "position": {
-                "left": 5078.25, 
-                "top": 1229.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "extractseq", 
-            "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"window_length\": \"\\\"50\\\"\", \"input_assembly_file\": \"null\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "54": {
-            "annotation": "", 
-            "id": 54, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 17, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 44, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 5398.75, 
-                "top": 475.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "55": {
-            "annotation": "", 
-            "id": 55, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 17, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 45, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 5395.75, 
-                "top": 656.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "56": {
-            "annotation": "", 
-            "id": 56, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 17, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 46, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 5391.75, 
-                "top": 860.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "57": {
-            "annotation": "", 
-            "id": 57, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 17, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 47, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 5389.75, 
-                "top": 1051.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "58": {
-            "annotation": "", 
-            "id": 58, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 17, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 48, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 5397.75, 
-                "top": 1237.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "59": {
-            "annotation": "", 
-            "id": 59, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 17, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 48, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 5684.75, 
-                "top": 1231.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "60": {
-            "annotation": "", 
-            "id": 60, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 17, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 49, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 5676.75, 
-                "top": 476.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "61": {
-            "annotation": "", 
-            "id": 61, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 17, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 50, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 5681.75, 
-                "top": 657.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "62": {
-            "annotation": "", 
-            "id": 62, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 17, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 51, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 5688.75, 
-                "top": 862.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "63": {
-            "annotation": "", 
-            "id": 63, 
-            "input_connections": {
-                "db_opts|histdb": {
-                    "id": 17, 
-                    "output_name": "outfile"
-                }, 
-                "query": {
-                    "id": 52, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "NCBI BLAST+ blastn", 
-            "outputs": [
-                {
-                    "name": "output1", 
-                    "type": "tabular"
-                }
-            ], 
-            "position": {
-                "left": 5688.75, 
-                "top": 1056.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/ncbi_blast_plus/ncbi_blastn_wrapper/0.1.00", 
-            "tool_state": "{\"evalue_cutoff\": \"\\\"0.001\\\"\", \"__page__\": 0, \"adv_opts\": \"{\\\"identity_cutoff\\\": \\\"0.0\\\", \\\"adv_opts_selector\\\": \\\"advanced\\\", \\\"ungapped\\\": \\\"False\\\", \\\"filter_query\\\": \\\"False\\\", \\\"word_size\\\": \\\"0\\\", \\\"__current_case__\\\": 1, \\\"parse_deflines\\\": \\\"False\\\", \\\"strand\\\": \\\"-strand both\\\", \\\"max_hits\\\": \\\"8\\\"}\", \"__rerun_remap_job_id__\": null, \"blast_type\": \"\\\"megablast\\\"\", \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"output\": \"{\\\"out_format\\\": \\\"cols\\\", \\\"std_cols\\\": [\\\"qseqid\\\", \\\"qstart\\\", \\\"qend\\\"], \\\"ids_cols\\\": null, \\\"tax_cols\\\": null, \\\"__current_case__\\\": 2, \\\"misc_cols\\\": null, \\\"ext_cols\\\": [\\\"qseq\\\", \\\"sseq\\\"]}\", \"query\": \"null\"}", 
-            "tool_version": "0.1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "64": {
-            "annotation": "", 
-            "id": 64, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 54, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file1"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6013.25, 
-                "top": 432.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "65": {
-            "annotation": "", 
-            "id": 65, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 55, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file2"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6010.25, 
-                "top": 656.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "66": {
-            "annotation": "", 
-            "id": 66, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 56, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file3"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6014.25, 
-                "top": 891.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "67": {
-            "annotation": "", 
-            "id": 67, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 57, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file4"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6014.25, 
-                "top": 1120.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "68": {
-            "annotation": "", 
-            "id": 68, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 58, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file5"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6013.25, 
-                "top": 1352.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "69": {
-            "annotation": "", 
-            "id": 69, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 59, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file10"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6313.25, 
-                "top": 1356.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "70": {
-            "annotation": "", 
-            "id": 70, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 60, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file6"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6300.25, 
-                "top": 428.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "71": {
-            "annotation": "", 
-            "id": 71, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 61, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file7"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6302.25, 
-                "top": 657.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "72": {
-            "annotation": "", 
-            "id": 72, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 62, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file8"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6304.25, 
-                "top": 893.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "73": {
-            "annotation": "", 
-            "id": 73, 
-            "input_connections": {
-                "input_blast_file": {
-                    "id": 63, 
-                    "output_name": "output1"
-                }, 
-                "input_variant_file": {
-                    "id": 43, 
-                    "output_name": "output_file9"
-                }
-            }, 
-            "inputs": [], 
-            "name": "ParseBlastForUniqueMatch", 
-            "outputs": [
-                {
-                    "name": "output_variant_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6306.25, 
-                "top": 1124.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "ParseBlastForUniqueMatch", 
-            "tool_state": "{\"input_variant_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_blast_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\"}", 
-            "tool_version": "1.01", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "74": {
-            "annotation": "", 
-            "id": 74, 
-            "input_connections": {
-                "input_files": [
-                    {
-                        "id": 69, 
-                        "output_name": "output_variant_file"
-                    }, 
-                    {
-                        "id": 73, 
-                        "output_name": "output_variant_file"
-                    }, 
-                    {
-                        "id": 72, 
-                        "output_name": "output_variant_file"
-                    }, 
-                    {
-                        "id": 71, 
-                        "output_name": "output_variant_file"
-                    }, 
-                    {
-                        "id": 70, 
-                        "output_name": "output_variant_file"
-                    }, 
-                    {
-                        "id": 68, 
-                        "output_name": "output_variant_file"
-                    }, 
-                    {
-                        "id": 67, 
-                        "output_name": "output_variant_file"
-                    }, 
-                    {
-                        "id": 66, 
-                        "output_name": "output_variant_file"
-                    }, 
-                    {
-                        "id": 65, 
-                        "output_name": "output_variant_file"
-                    }, 
-                    {
-                        "id": 64, 
-                        "output_name": "output_variant_file"
-                    }
-                ]
-            }, 
-            "inputs": [], 
-            "name": "MergeMultiFile", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 6737.25, 
-                "top": 872.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "MergeMultiFile", 
-            "tool_state": "{\"out_format\": \"\\\"pileup\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_files\": \"null\"}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "75": {
-            "annotation": "", 
-            "id": 75, 
-            "input_connections": {
-                "input_file": {
-                    "id": 74, 
-                    "output_name": "output_file"
-                }
-            }, 
-            "inputs": [], 
-            "name": "mpileupfilterandstat", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "pileup"
-                }, 
-                {
-                    "name": "log_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 7105.75, 
-                "top": 903.75
-            }, 
-            "post_job_actions": {}, 
-            "tool_errors": null, 
-            "tool_id": "mpileupfilterandstat", 
-            "tool_state": "{\"__page__\": 0, \"stat\": \"{\\\"stat_dist_step\\\": \\\"50\\\", \\\"stat_min_depth_step\\\": \\\"4\\\", \\\"stat_max_depth_max\\\": \\\"200\\\", \\\"stat_min_depth_max\\\": \\\"20\\\", \\\"stat_freq_max\\\": \\\"1.0\\\", \\\"stat_min_depth_min\\\": \\\"4\\\", \\\"stat_max_depth_min\\\": \\\"200\\\", \\\"do_stat\\\": \\\"YES\\\", \\\"stat_dist_min\\\": \\\"0\\\", \\\"__current_case__\\\": 0, \\\"stat_max_depth_step\\\": \\\"100\\\", \\\"stat_dist_max\\\": \\\"50\\\", \\\"stat_freq_step\\\": \\\"0.2\\\", \\\"stat_freq_min\\\": \\\"0.8\\\"}\", \"input_file\": \"null\", \"min_frequency\": \"\\\"0.0\\\"\", \"min_depth\": \"\\\"1\\\"\", \"__rerun_remap_job_id__\": null, \"min_forward_and_reverse\": \"\\\"0\\\"\", \"max_depth\": \"\\\"500\\\"\", \"min_distance\": \"\\\"0\\\"\"}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }, 
-        "76": {
-            "annotation": "", 
-            "id": 76, 
-            "input_connections": {
-                "input_files": [
-                    {
-                        "id": 75, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 69, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 73, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 72, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 71, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 70, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 68, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 67, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 66, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 65, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 64, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 42, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 41, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 37, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 36, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 34, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 32, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 31, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 35, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 33, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 30, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 29, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 28, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 16, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 15, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 13, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 11, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 10, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 14, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 12, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 9, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 8, 
-                        "output_name": "log_file"
-                    }, 
-                    {
-                        "id": 7, 
-                        "output_name": "log_file"
-                    }
-                ]
-            }, 
-            "inputs": [], 
-            "name": "MergeMultiFile", 
-            "outputs": [
-                {
-                    "name": "output_file", 
-                    "type": "txt"
-                }
-            ], 
-            "position": {
-                "left": 7458.25, 
-                "top": 1140.75
-            }, 
-            "post_job_actions": {
-                "RenameDatasetActionoutput_file": {
-                    "action_arguments": {
-                        "newname": "LOGS"
-                    }, 
-                    "action_type": "RenameDatasetAction", 
-                    "output_name": "output_file"
-                }
-            }, 
-            "tool_errors": null, 
-            "tool_id": "MergeMultiFile", 
-            "tool_state": "{\"out_format\": \"\\\"txt\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_files\": \"null\"}", 
-            "tool_version": "1.00", 
-            "type": "tool", 
-            "user_outputs": []
-        }
-    }
-}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rapsodyn/MergeLogFiles.pl	Mon Jan 19 04:33:21 2015 -0500
@@ -0,0 +1,16 @@
+#!/usr/bin/perl
+#V1.0.0
+use strict;
+use warnings;
+use Getopt::Long;
+
+
+my $input_log_files;
+GetOptions (
+"input_log_files=s" => \$input_log_files
+) or die("Error in command line arguments\n");
+
+my @files = split(/,/,$input_log_files);
+for (my $i=0;$i<=$#files;$i++){
+	print $files[$i],"\n";
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rapsodyn/MergeLogFiles.xml	Mon Jan 19 04:33:21 2015 -0500
@@ -0,0 +1,18 @@
+<tool id="MergeLogFiles" name="MergeLogFiles" version="1.00">
+<description>Merge multiple log files</description>
+<command interpreter="perl">
+	MergeLogFiles.pl -input_log_files $input_log_files > $output_file 
+</command>
+<inputs>
+	<param name="input_log_files"  type="data" format="txt" multiple="true" label="Select suitable LOG files from your history"/>
+</inputs>
+<outputs>
+	<data name="output_file" format="txt" label="MERGE LOG on ${on_string}" />
+</outputs>
+
+<help>
+
+
+
+</help>
+</tool>
--- a/rapsodyn/ParseBlastForUniqueMatch.pl	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/ParseBlastForUniqueMatch.pl	Mon Jan 19 04:33:21 2015 -0500
@@ -1,4 +1,5 @@
 #!/usr/bin/perl
+#V1.1.0 manage empty files
 #V1.0.1 added log, option parameters
 use strict;
 use warnings;
@@ -24,6 +25,10 @@
 my %hash_name;
 
 open(INB, $input_blast_file) or die ("Can't open $input_blast_file\n");
+if ( -z INB){
+	exit(0);
+}
+
 while (my $line =<INB>){
 	my @fields = split (/\s+/,$line);
 	# print $#fields,"\n";
--- a/rapsodyn/ParseBlastForUniqueMatch.xml	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/ParseBlastForUniqueMatch.xml	Mon Jan 19 04:33:21 2015 -0500
@@ -1,4 +1,4 @@
-<tool id="ParseBlastForUniqueMatch" name="ParseBlastForUniqueMatch" version="1.01">
+<tool id="ParseBlastForUniqueMatch" name="ParseBlastForUniqueMatch" version="1.10">
 <description>Filter mpileup with blast results</description>
 <command interpreter="perl">
     ParseBlastForUniqueMatch.pl -input_variant_file $input_variant_file -input_blast_file $input_blast_file -window_length $window_length -nb_mismatch_max $nb_mismatch_max -log_file $log_file > $output_variant_file 
--- a/rapsodyn/PileupVariant.pl	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/PileupVariant.pl	Mon Jan 19 04:33:21 2015 -0500
@@ -3,39 +3,94 @@
 use strict;
 use warnings;
 use Getopt::Long;
+#v1.1.0 choose exclusion file
+#v1.0.2 manage empty files
+#v1.0.1 bug correction
+#V1.0.1 added log, option parameters
 
 my $input_pileup_file;
 my $output_pileup_file;
+my $input_exclusion_file;
 my $log_file;
 
 my $nb_base_covered=0;
 my $nb_variant=0;
+my $nb_variant_conserved=0;
+my $do_exclusion=0;
+my $nb_exclusion=0;
+my $nb_excluded=0;
+my %exclusion;
 GetOptions (
 "input_pileup_file=s" => \$input_pileup_file,
+"input_exclusion_file=s" => \$input_exclusion_file,
 "log_file=s" => \$log_file
 ) or die("Error in command line arguments\n");
 
 open(IN, $input_pileup_file) or die ("Can't open $input_pileup_file\n");
+if ( -z IN){
+	exit(0);
+}
+
+if ($input_exclusion_file){
+	open (EX,$input_exclusion_file)  or die ("Can't open $input_exclusion_file\n");
+	if ( -z EX){
+		
+	}
+	else {
+		$do_exclusion=1;
+		while (my $line=<EX>){
+			$nb_exclusion++;
+			chomp($line);
+			my @fields = split(/\s+/,$line);
+			if (($fields[0])&&($fields[1])){
+				$exclusion{"$fields[0]\t$fields[1]"}=1;
+			}
+			else {
+				print STDERR "Error formatting in Exclusion File\nExclusion file lines should be 'chromosome number' TAB 'position'\n$line\n",$fields[0],"\n",$fields[1],"\n";
+			}
+		}
+		
+	}
+	close (EX);
+}
 
 #Extraction des variants
 my $nb_line=0;
 while (my $line=<IN>){
 	#print $line;
-	$nb_base_covered++;
-	$line =~ s/\$//g; #the read start at this position
-	$line =~ s/\^.//g; #the read end at this position followed by quality char
+	if ($line !~ /^\s*$/){
+		my @fields = split(/\s+/,$line);
+		if ($fields[4]){
+			$nb_base_covered++;
+			my $pile = $fields[4];
+			$pile =~ s/\$//g; #the read start at this position
+			$pile =~ s/\^.//g; #the read end at this position followed by quality char
+			if ($fields[4]=~/[ATGCN]/i){ #Indel are +/-\d[ATGCatgc]+ and SNP are [ATGCatgc]+ so [ATGCN]/i detection cover indel and snp
+				$nb_variant++;
+				if (($do_exclusion==1)&&($exclusion{"$fields[0]\t$fields[1]"})){
+					
+				}
+				else {
+					print $line;
+					$nb_variant_conserved++;
+				}
+			}
+		}
+		elsif ($fields[3]==0){
+		}
+		else {
+			print STDERR "Error in pileup format\nPileup result expected at column 5\n$line\n"; 
+		}
+	}
 	#print $line;
 	
-	my @field = split(/\s+/,$line);
-	if ($field[4]=~/[ATGCN]/i){
-		print $line;
-		$nb_variant++;
-	}
+	
 }
 close(IN);
 
 open (LF,">$log_file") or die("Can't open $log_file\n");
 print LF "\n####\t Variant extraction \n";
-print LF "Position covered :\t$nb_base_covered\n";
-print LF "Variant detected :\t$nb_variant\n";
+print LF "Position covered\t:\t$nb_base_covered\n";
+print LF "Variant detected\t:\t$nb_variant\n";
+print LF "Variant conserved\t:\t$nb_variant_conserved\n";
 close (LF);
--- a/rapsodyn/PileupVariant.xml	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/PileupVariant.xml	Mon Jan 19 04:33:21 2015 -0500
@@ -1,10 +1,27 @@
-<tool id="PileupVariant" name="PileupVariant" version="1.01">
+<tool id="PileupVariant" name="PileupVariant" version="1.10">
 <description>Keep only mpileup line with variant</description>
 <command interpreter="perl">
-    PileupVariant.pl -input_pileup_file $input_pileup_file -log_file $log_file > $output_pileup_file 
+  #if $exclude.do=="YES"
+	PileupVariant.pl -input_pileup_file $input_pileup_file -input_exclusion_file $input_exclusion_file -log_file $log_file > $output_pileup_file 
+  #else
+        PileupVariant.pl -input_pileup_file $input_pileup_file -log_file $log_file > $output_pileup_file 
+  #end if
+  
 </command>
 <inputs>
 	<param name="input_pileup_file"  type="data" format="pileup" label="Select a suitable input file from your history"/>
+	<conditional name="exclude">
+	  <param name="do" type="select" label="Exclude some position">
+	    <option value="NO">NO</option>
+	    <option value="YES">YES</option>
+	  </param>
+	  <when value="YES">
+		<param name="input_exclusion_file"  type="data" format="pileup" label="Select a suitable input file from your history"/>
+	  </when>
+	  <when value="NO">
+	    
+	  </when>
+	</conditional> 
 </inputs>
 <outputs>
 	<data name="output_pileup_file" format="pileup" label="${tool.name} on ${on_string}"/>
--- a/rapsodyn/PrepareFastqLight.pl	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/PrepareFastqLight.pl	Mon Jan 19 04:33:21 2015 -0500
@@ -1,4 +1,6 @@
 #!/usr/bin/perl
+#v1.1.0 manage empty files
+#v1.0.4 bug correction, last read not considered
 #v1.0.3 support rapsodyn header (.... 1:...  / .... 2:...)
 #V1.0.2 added auto type detection
 #V1.0.1 added log, option parameters
@@ -49,6 +51,14 @@
 open(OUT2, ">$output2_file") or die ("Can't open $output2_file\n");
 open (LF,">$log_file") or die("Can't open $log_file\n");
 
+if (( -z READ1)&&( -z READ2)){
+	exit(0);
+}
+elsif (( -z READ1)||( -z READ2)){
+	print STDERR "One empty File\n";
+	exit(0);
+}
+
 
 my $error1=0;
 my $error2=0;
@@ -113,7 +123,7 @@
 
 
 
-
+my $compt=0;
 while (my $ligne1_r1 =<READ1>){
 	my $ligne2_r1 =<READ1>;
 	my $ligne3_r1 =<READ1>;
@@ -122,7 +132,13 @@
 	my $ligne2_r2 =<READ2>;
 	my $ligne3_r2 =<READ2>;
 	my $ligne4_r2 =<READ2>;
-
+	# chomp($ligne1_r1);
+	# chomp($ligne2_r1);
+	# chomp($ligne3_r1);
+	# chomp($ligne4_r1);
+	# chomp($ligne2_r1);
+	
+	$compt++;
 	$nb_read1++;
 	$nb_read2++;
 	
@@ -160,13 +176,13 @@
 #@ 1 - 2 sec
 	else {
 		
-		my $length_seq1 = length($ligne2_r1);
-		my $length_qual1 =length($ligne4_r1);
+		my $length_seq1 = length(chomp($ligne2_r1));
+		my $length_qual1 =length(chomp($ligne4_r1));
 		my $seq1;
 		my $qual1;
 	
-		my $length_seq2 = length($ligne2_r2);
-		my $length_qual2 =length($ligne4_r2);
+		my $length_seq2 = length(chomp($ligne2_r2));
+		my $length_qual2 =length(chomp($ligne4_r2));
 		my $seq2;
 		my $qual2;
 		my $header1="";
@@ -210,7 +226,7 @@
 		}
 		elsif (($TYPE eq "sanger")&&((!$header1)||(!$header2))){
 			if ($VERBOSE eq "ON"){
-				print "Error in header refgsd : empty\n";
+				print "Error in header ref : empty\n";
 				print $ligne1_r1;
 				print $ligne2_r1;
 				print $ligne3_r1;
@@ -256,10 +272,12 @@
 		elsif (($length_seq1 != $length_qual1)||($length_seq2 != $length_qual2)){
 			if ($VERBOSE eq "ON"){
 				print "Error in seq/qual length\n";
+				print "$length_seq1 / $length_qual1 \t $length_seq2 / $length_qual2\n";
 				print $ligne1_r1;
 				print $ligne2_r1;
 				print $ligne3_r1;
 				print $ligne4_r1;
+				print "\n";
 				print $ligne1_r2;
 				print $ligne2_r2;
 				print $ligne3_r2;
@@ -270,6 +288,7 @@
 		}
 #@ 1 - 2 sec	
 		else {
+			#print "TEST : $compt\n";
 			### Parsing sequence & qualité
 			if ($ligne2_r1 =~ /^([ATGCNX]+)\s*$/i){
 				$seq1 = $1;
--- a/rapsodyn/PrepareFastqLight.xml	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/PrepareFastqLight.xml	Mon Jan 19 04:33:21 2015 -0500
@@ -1,4 +1,4 @@
-<tool id="PrepareFastqLight" name="PrepareFastqLight" version="1.03">
+<tool id="PrepareFastqLight" name="PrepareFastqLight" version="1.10">
 <description>Fastq preparation</description>
 <command interpreter="perl">
     PrepareFastqLight.pl -read1_file $input_read1_file -read2_file $input_read2_file -output1 $output_read1_file -output2 $output_read2_file -log_file $log_file -type $quality_type -min_quality $min_quality -min_length $min_length
--- a/rapsodyn/extractseq.pl	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/extractseq.pl	Mon Jan 19 04:33:21 2015 -0500
@@ -1,4 +1,6 @@
 #!/usr/bin/perl
+#V1.10 manage empty files
+#V1.02 Trop de pb avec nbci blast+, changment du header des fasta
 #V1.01 #Ajout d'un _ a la fin du nom pour eviter les problemes avec ncbi blast+
 
 use strict;
@@ -16,6 +18,12 @@
 ) or die("Error in command line arguments\n");
 
 open(INV, $input_variant_file) or die ("Can't open $input_variant_file\n");
+
+if ( -z INV){
+	print ">empty\nAAAAA";
+	exit(0);
+}
+
 open(INA, $input_assembly_file) or die ("Can't open $input_assembly_file\n");
 
 my @variant_list;
@@ -89,11 +97,13 @@
 		}
 		$variant{"desc"}=$descriptor;
 		
-		print ">",$variant{"ref"},"_",$descriptor,"_","\n",$variant{"SEQ"},"\n";
+		#print ">",$variant{"ref"},"_",$descriptor,"_","\n",$variant{"SEQ"},"\n";
 
 		
 		
+		#V1.02 : changement du header
 		#print ">",$variant{"ref"},"_",$variant{"position"},"_",$variant{"depth"},"\n",$variant{"SEQ"},"\n";
+		print ">",$variant{"ref"},"_",$variant{"position"},"_",$variant{"depth"},"\n",$variant{"SEQ"},"\n";
 		
 		push(@variant_list,\%variant);
 	}
--- a/rapsodyn/extractseq.xml	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/extractseq.xml	Mon Jan 19 04:33:21 2015 -0500
@@ -1,4 +1,4 @@
-<tool id="extractseq" name="extractseq" version="1.01">
+<tool id="extractseq" name="extractseq" version="1.10">
 <description>Extract Sequence around variant position</description>
 <command interpreter="perl">
     extractseq.pl -input_variant_file $input_variant_file -input_assembly_file $input_assembly_file -window_length $window_length > $output_file 
--- a/rapsodyn/filtersam_mapped_and_unique.pl	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/filtersam_mapped_and_unique.pl	Mon Jan 19 04:33:21 2015 -0500
@@ -1,4 +1,5 @@
 #!/usr/bin/perl
+#V1.1.0 manage empty files
 #V1.0.1 added log, option parameters
 use strict;
 use warnings;
@@ -7,6 +8,7 @@
 my $input_sam_file;
 my $output_sam_file;
 my $log_file;
+my $empty_file=1;
 
 my %bitscore_all;
 my %bitscore_selected;
@@ -37,6 +39,7 @@
 			my @fields_selected = split (/\s+/,$line);
 			if (($fields_selected[1]==83)||($fields_selected[1]==163)||($fields_selected[1]==147)||($fields_selected[1]==99)){
 				print $line;
+				$empty_file=0;
 				my $bit = $fields_selected[1];
 				if ($bitscore_selected{$bit}){
 					$bitscore_selected{$bit}++;
@@ -50,29 +53,30 @@
 }
 
 close (IN);
-
 open (LF,">$log_file") or die("Can't open $log_file\n");
-print LF "\n####\t Sam filtering \n";
-print LF "## Before filtering\n";
-print LF "bitscore\t:\t";
-foreach my $key (sort {$bitscore_all{$b} <=> $bitscore_all{$a}} keys %bitscore_all) {
-	print LF $key,"\t*\t";
-}
-print LF "\n number \t:\t";
-foreach my $key (sort {$bitscore_all{$b} <=> $bitscore_all{$a}} keys %bitscore_all) {
-	print LF $bitscore_all{$key},"\t*\t";
+if ($empty_file==0){
+	print LF "\n####\t Sam filtering \n";
+	print LF "## Before filtering\n";
+	print LF "bitscore\t:\t";
+	foreach my $key (sort {$bitscore_all{$b} <=> $bitscore_all{$a}} keys %bitscore_all) {
+		print LF $key,"\t*\t";
+	}
+	print LF "\n number \t:\t";
+	foreach my $key (sort {$bitscore_all{$b} <=> $bitscore_all{$a}} keys %bitscore_all) {
+		print LF $bitscore_all{$key},"\t*\t";
+	}
+	print LF "\n";
+	print LF "## After filtering\n";
+	print LF "bitscore\t:\t";
+	foreach my $key (sort {$bitscore_selected{$b} <=> $bitscore_selected{$a}} keys %bitscore_selected) {
+		print LF $key,"\t*\t";
+	}
+	print LF "\n number \t:\t";
+	foreach my $key (sort {$bitscore_selected{$b} <=> $bitscore_selected{$a}} keys %bitscore_selected) {
+		print LF $bitscore_selected{$key},"\t*\t";
+	}
+	print LF "\n";
 }
-print LF "\n";
-print LF "## After filtering\n";
-print LF "bitscore\t:\t";
-foreach my $key (sort {$bitscore_selected{$b} <=> $bitscore_selected{$a}} keys %bitscore_selected) {
-	print LF $key,"\t*\t";
-}
-print LF "\n number \t:\t";
-foreach my $key (sort {$bitscore_selected{$b} <=> $bitscore_selected{$a}} keys %bitscore_selected) {
-	print LF $bitscore_selected{$key},"\t*\t";
-}
-print LF "\n";
 close (LF);
 
 
--- a/rapsodyn/filtersam_mapped_and_unique.xml	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/filtersam_mapped_and_unique.xml	Mon Jan 19 04:33:21 2015 -0500
@@ -1,4 +1,4 @@
-<tool id="filtersam_mapped_and_unique" name="filtersam_mapped_and_unique" version="1.01">
+<tool id="filtersam_mapped_and_unique" name="filtersam_mapped_and_unique" version="1.10">
 <description>Filter SAM file for uniq and well mapped pair-end reads</description>
 <command interpreter="perl">
     filtersam_mapped_and_unique.pl -input_sam_file $input_sam_file -log_file $log_file> $output_sam_file 
--- a/rapsodyn/repository_dependencies.xml	Mon Oct 20 05:58:31 2014 -0400
+++ b/rapsodyn/repository_dependencies.xml	Mon Jan 19 04:33:21 2015 -0500
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <repositories description="Rapsodyn worflow needed repository">
-    <repository changeset_revision="623f727cdff1" name="ncbi_blast_plus" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu" />
+    <repository changeset_revision="2fe07f50a41e" name="ncbi_blast_plus" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu" />
     <repository changeset_revision="b4427dbb6ced" name="bwa_wrappers" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu" />
     <repository changeset_revision="973fea5b4bdf" name="samtools_mpileup" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu" />
     <repository changeset_revision="8176b2575aa1" name="sam_to_bam" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu" />
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rapsodyn/tool_dependencies.xml	Mon Jan 19 04:33:21 2015 -0500
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<tool_dependency>
+    <package name="picard" version="1.56.0">
+        <repository changeset_revision="61e41d21cb6f" name="package_picard_1_56_0" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+</tool_dependency>