Mercurial > repos > mcharles > rapsosnp
changeset 2:761fecc07fa9 draft
Uploaded
author | mcharles |
---|---|
date | Thu, 11 Sep 2014 03:10:47 -0400 |
parents | 7f36bd129321 |
children | 9332b9da7491 |
files | rapsodyn/Galaxy-Workflow-rapsosnp_v1.16_-1x.ga rapsodyn/Galaxy-Workflow-rapsosnp_v1.16_-_2x.ga rapsodyn/Galaxy-Workflow-rapsosnp_v1.16_-_4x.ga rapsodyn/Galaxy-Workflow-rapsosnp_v1.17.ga rapsodyn/rapsosnp_stats2x.pl rapsodyn/rapsosnp_stats2x.xml rapsodyn/rapsosnp_stats4x.pl rapsodyn/rapsosnp_stats4x.xml |
diffstat | 8 files changed, 1418 insertions(+), 3168 deletions(-) [+] |
line wrap: on
line diff
--- a/rapsodyn/Galaxy-Workflow-rapsosnp_v1.16_-1x.ga Wed Sep 10 10:24:01 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,590 +0,0 @@ -{ - "a_galaxy_workflow": "true", - "annotation": "", - "format-version": "0.1", - "name": "rapsosnp v1.16 -1x", - "steps": { - "0": { - "annotation": "", - "id": 0, - "input_connections": {}, - "inputs": [ - { - "description": "", - "name": "ASSEMBLY" - } - ], - "name": "Input dataset", - "outputs": [], - "position": { - "left": 258, - "top": 736.9833374023438 - }, - "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": 258, - "top": 821.9833374023438 - }, - "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": 258, - "top": 906.9833374023438 - }, - "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": 258, - "top": 991.9833374023438 - }, - "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": 486, - "top": 723.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "fastaGroomerForMakeBlastdb", - "tool_state": "{\"input_fasta\": \"null\", \"__rerun_remap_job_id__\": null, \"__page__\": 0}", - "tool_version": "0.01", - "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" - } - ], - "position": { - "left": 486, - "top": 867.9833374023438 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "PrepareFastqLight", - "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"illumina\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", - "tool_version": "0.01", - "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": 814, - "top": 736.9833374023438 - }, - "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": 814, - "top": 894.9833374023438 - }, - "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\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "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_file", - "type": "sam" - } - ], - "position": { - "left": 1147, - "top": 837.5 - }, - "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": "0.01", - "type": "tool", - "user_outputs": [] - }, - "9": { - "annotation": "", - "id": 9, - "input_connections": { - "source|input1": { - "id": 8, - "output_name": "output_file" - }, - "source|ref_file": { - "id": 0, - "output_name": "output" - } - }, - "inputs": [], - "name": "SAM-to-BAM", - "outputs": [ - { - "name": "output1", - "type": "bam" - } - ], - "position": { - "left": 1469.9999389648438, - "top": 736.9833374023438 - }, - "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, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__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": 1697.9999389648438, - "top": 736.9833374023438 - }, - "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, \"genotype_likelihood_computation_type\": \"{\\\"genotype_likelihood_computation_type_selector\\\": \\\"do_not_perform_genotype_likelihood_computation\\\", \\\"__current_case__\\\": 1}\", \"__rerun_remap_job_id__\": null, \"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\\\": \\\"30\\\", \\\"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\\\"}\", \"reference_source\": \"{\\\"ref_file\\\": null, \\\"reference_source_selector\\\": \\\"history\\\", \\\"input_bams\\\": [{\\\"__index__\\\": 0, \\\"input_bam\\\": null}], \\\"__current_case__\\\": 1}\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "0.0.3", - "type": "tool", - "user_outputs": [] - }, - "11": { - "annotation": "", - "id": 11, - "input_connections": { - "input_file": { - "id": 10, - "output_name": "output_mpileup" - } - }, - "inputs": [], - "name": "PileupVariant", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 2023.9999389648438, - "top": 736.9833374023438 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "PileupVariant", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "12": { - "annotation": "", - "id": 12, - "input_connections": { - "input_listA": { - "id": 11, - "output_name": "output_file" - }, - "input_listB": { - "id": 3, - "output_name": "output" - } - }, - "inputs": [], - "name": "listfiltering", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 2351.9999389648438, - "top": 736.9833374023438 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "listfiltering", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_listB\": \"null\", \"nb_col\": \"\\\"2\\\"\", \"input_listA\": \"null\"}", - "tool_version": "0.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": 2679.9999389648438, - "top": 736.9833374023438 - }, - "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": "0.03", - "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": 3007.9999389648438, - "top": 736.9833374023438 - }, - "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_file", - "type": "pileup" - } - ], - "position": { - "left": 3309.9999389648438, - "top": 736.9833374023438 - }, - "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": "0.01", - "type": "tool", - "user_outputs": [] - }, - "16": { - "annotation": "", - "id": 16, - "input_connections": { - "input_file": { - "id": 15, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "mpileupfilterandstat", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - }, - { - "name": "log_file", - "type": "txt" - } - ], - "position": { - "left": 3637.9999389648438, - "top": 736.9833374023438 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "mpileupfilterandstat", - "tool_state": "{\"__page__\": 0, \"stat\": \"{\\\"stat_dist_step\\\": \\\"50\\\", \\\"stat_min_depth_step\\\": \\\"2\\\", \\\"stat_max_depth_max\\\": \\\"200\\\", \\\"stat_min_depth_max\\\": \\\"10\\\", \\\"stat_freq_max\\\": \\\"1.0\\\", \\\"stat_min_depth_min\\\": \\\"2\\\", \\\"stat_max_depth_min\\\": \\\"100\\\", \\\"do_stat\\\": \\\"YES\\\", \\\"stat_dist_min\\\": \\\"0\\\", \\\"__current_case__\\\": 0, \\\"stat_max_depth_step\\\": \\\"100\\\", \\\"stat_dist_max\\\": \\\"50\\\", \\\"stat_freq_step\\\": \\\"0.1\\\", \\\"stat_freq_min\\\": \\\"0.8\\\"}\", \"input_file\": \"null\", \"min_frequency\": \"\\\"0.8\\\"\", \"do_stat\": \"\\\"YES\\\"\", \"min_depth\": \"\\\"2\\\"\", \"__rerun_remap_job_id__\": null, \"min_forward_and_reverse\": \"\\\"0\\\"\", \"max_depth\": \"\\\"100\\\"\", \"min_distance\": \"\\\"0\\\"\"}", - "tool_version": "0.08", - "type": "tool", - "user_outputs": [] - }, - "17": { - "annotation": "", - "id": 17, - "input_connections": { - "input_blast_filtered_file": { - "id": 15, - "output_name": "output_file" - }, - "input_list_filtered_file": { - "id": 12, - "output_name": "output_file" - }, - "input_mpileup_variant_file": { - "id": 11, - "output_name": "output_file" - }, - "input_read1_row_file": { - "id": 1, - "output_name": "output" - }, - "input_read1_trimmed_file": { - "id": 5, - "output_name": "output_read1_file" - }, - "input_read2_row_file": { - "id": 2, - "output_name": "output" - }, - "input_read2_trimmed_file": { - "id": 5, - "output_name": "output_read2_file" - }, - "input_sam_filtered_file": { - "id": 8, - "output_name": "output_file" - }, - "input_sam_row_file": { - "id": 7, - "output_name": "output" - }, - "input_snp_selected_file": { - "id": 16, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "rapsosnp_stats", - "outputs": [ - { - "name": "output_file", - "type": "txt" - } - ], - "position": { - "left": 1677.9999389648438, - "top": 183.00001525878906 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "rapsosnp_stats", - "tool_state": "{\"input_read1_trimmed_file\": \"null\", \"__page__\": 0, \"input_read2_trimmed_file\": \"null\", \"input_sam_row_file\": \"null\", \"__rerun_remap_job_id__\": null, \"input_read2_row_file\": \"null\", \"input_mpileup_variant_file\": \"null\", \"input_sam_filtered_file\": \"null\", \"input_read1_row_file\": \"null\", \"input_snp_selected_file\": \"null\", \"input_list_filtered_file\": \"null\", \"input_blast_filtered_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - } - } -}
--- a/rapsodyn/Galaxy-Workflow-rapsosnp_v1.16_-_2x.ga Wed Sep 10 10:24:01 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1014 +0,0 @@ -{ - "a_galaxy_workflow": "true", - "annotation": "", - "format-version": "0.1", - "name": "rapsosnp v1.15 - 2x", - "steps": { - "0": { - "annotation": "", - "id": 0, - "input_connections": {}, - "inputs": [ - { - "description": "", - "name": "ASSEMBLY" - } - ], - "name": "Input dataset", - "outputs": [], - "position": { - "left": 200.000244140625, - "top": 211 - }, - "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.000244140625, - "top": 296 - }, - "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.000244140625, - "top": 381 - }, - "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.000244140625, - "top": 466 - }, - "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": 428.000244140625, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "fastaGroomerForMakeBlastdb", - "tool_state": "{\"input_fasta\": \"null\", \"__rerun_remap_job_id__\": null, \"__page__\": 0}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "5": { - "annotation": "", - "id": 5, - "input_connections": { - "input_file": { - "id": 1, - "output_name": "output" - } - }, - "inputs": [], - "name": "SplitFile2x", - "outputs": [ - { - "name": "output_file1", - "type": "txt" - }, - { - "name": "output_file2", - "type": "txt" - } - ], - "position": { - "left": 428.000244140625, - "top": 342 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "SplitFile2x", - "tool_state": "{\"out_format\": \"\\\"fastq\\\"\", \"line_number\": \"\\\"4\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "6": { - "annotation": "", - "id": 6, - "input_connections": { - "input_file": { - "id": 2, - "output_name": "output" - } - }, - "inputs": [], - "name": "SplitFile2x", - "outputs": [ - { - "name": "output_file1", - "type": "txt" - }, - { - "name": "output_file2", - "type": "txt" - } - ], - "position": { - "left": 428.000244140625, - "top": 534 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "SplitFile2x", - "tool_state": "{\"out_format\": \"\\\"fastq\\\"\", \"line_number\": \"\\\"4\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "7": { - "annotation": "", - "id": 7, - "input_connections": { - "input_file": { - "id": 4, - "output_name": "output_fasta" - } - }, - "inputs": [], - "name": "NCBI BLAST+ makeblastdb", - "outputs": [ - { - "name": "outfile", - "type": "data" - } - ], - "position": { - "left": 756.000244140625, - "top": 615.0000305175781 - }, - "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": [] - }, - "8": { - "annotation": "", - "id": 8, - "input_connections": { - "input_read1_file": { - "id": 5, - "output_name": "output_file1" - }, - "input_read2_file": { - "id": 6, - "output_name": "output_file1" - } - }, - "inputs": [], - "name": "PrepareFastqLight", - "outputs": [ - { - "name": "output_read1_file", - "type": "fastqsanger" - }, - { - "name": "output_read2_file", - "type": "fastqsanger" - } - ], - "position": { - "left": 756.000244140625, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "PrepareFastqLight", - "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"illumina\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "9": { - "annotation": "", - "id": 9, - "input_connections": { - "input_read1_file": { - "id": 5, - "output_name": "output_file2" - }, - "input_read2_file": { - "id": 6, - "output_name": "output_file2" - } - }, - "inputs": [], - "name": "PrepareFastqLight", - "outputs": [ - { - "name": "output_read1_file", - "type": "fastqsanger" - }, - { - "name": "output_read2_file", - "type": "fastqsanger" - } - ], - "position": { - "left": 756.000244140625, - "top": 413 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "PrepareFastqLight", - "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"illumina\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "10": { - "annotation": "", - "id": 10, - "input_connections": { - "genomeSource|ownFile": { - "id": 0, - "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": 1084.000244140625, - "top": 211 - }, - "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\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.2.3", - "type": "tool", - "user_outputs": [] - }, - "11": { - "annotation": "", - "id": 11, - "input_connections": { - "genomeSource|ownFile": { - "id": 0, - "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": 1084.000244140625, - "top": 396 - }, - "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\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.2.3", - "type": "tool", - "user_outputs": [] - }, - "12": { - "annotation": "", - "id": 12, - "input_connections": { - "input_sam_file": { - "id": 10, - "output_name": "output" - } - }, - "inputs": [], - "name": "filtersam_mapped_and_unique", - "outputs": [ - { - "name": "output_file", - "type": "sam" - } - ], - "position": { - "left": 1348.000244140625, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "filtersam_mapped_and_unique", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"input_sam_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "13": { - "annotation": "", - "id": 13, - "input_connections": { - "input_sam_file": { - "id": 11, - "output_name": "output" - } - }, - "inputs": [], - "name": "filtersam_mapped_and_unique", - "outputs": [ - { - "name": "output_file", - "type": "sam" - } - ], - "position": { - "left": 1348.000244140625, - "top": 342 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "filtersam_mapped_and_unique", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"input_sam_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "14": { - "annotation": "", - "id": 14, - "input_connections": { - "source|input1": { - "id": 12, - "output_name": "output_file" - }, - "source|ref_file": { - "id": 0, - "output_name": "output" - } - }, - "inputs": [], - "name": "SAM-to-BAM", - "outputs": [ - { - "name": "output1", - "type": "bam" - } - ], - "position": { - "left": 1676.000244140625, - "top": 211 - }, - "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, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", - "tool_version": "1.1.4", - "type": "tool", - "user_outputs": [] - }, - "15": { - "annotation": "", - "id": 15, - "input_connections": { - "source|input1": { - "id": 13, - "output_name": "output_file" - }, - "source|ref_file": { - "id": 0, - "output_name": "output" - } - }, - "inputs": [], - "name": "SAM-to-BAM", - "outputs": [ - { - "name": "output1", - "type": "bam" - } - ], - "position": { - "left": 1676.000244140625, - "top": 352 - }, - "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, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", - "tool_version": "1.1.4", - "type": "tool", - "user_outputs": [] - }, - "16": { - "annotation": "", - "id": 16, - "input_connections": { - "input1": { - "id": 14, - "output_name": "output1" - }, - "input2": { - "id": 15, - "output_name": "output1" - } - }, - "inputs": [], - "name": "Merge BAM Files", - "outputs": [ - { - "name": "output1", - "type": "bam" - }, - { - "name": "outlog", - "type": "txt" - } - ], - "position": { - "left": 1904.000244140625, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/sam_merge/sam_merge2/1.1.2", - "tool_state": "{\"input2\": \"null\", \"inputs\": \"[]\", \"input1\": \"null\", \"title\": \"\\\"merge bam\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"mergeSD\": \"\\\"True\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.1.2", - "type": "tool", - "user_outputs": [] - }, - "17": { - "annotation": "", - "id": 17, - "input_connections": { - "reference_source|input_bams_0|input_bam": { - "id": 16, - "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": 2132.000244140625, - "top": 211 - }, - "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, \"genotype_likelihood_computation_type\": \"{\\\"genotype_likelihood_computation_type_selector\\\": \\\"do_not_perform_genotype_likelihood_computation\\\", \\\"__current_case__\\\": 1}\", \"__rerun_remap_job_id__\": null, \"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\\\": \\\"30\\\", \\\"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\\\"}\", \"reference_source\": \"{\\\"ref_file\\\": null, \\\"reference_source_selector\\\": \\\"history\\\", \\\"input_bams\\\": [{\\\"__index__\\\": 0, \\\"input_bam\\\": null}], \\\"__current_case__\\\": 1}\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "0.0.3", - "type": "tool", - "user_outputs": [] - }, - "18": { - "annotation": "", - "id": 18, - "input_connections": { - "input_file": { - "id": 17, - "output_name": "output_mpileup" - } - }, - "inputs": [], - "name": "PileupVariant", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 2458.000244140625, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "PileupVariant", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "19": { - "annotation": "", - "id": 19, - "input_connections": { - "input_listA": { - "id": 18, - "output_name": "output_file" - }, - "input_listB": { - "id": 3, - "output_name": "output" - } - }, - "inputs": [], - "name": "listfiltering", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 2786.000244140625, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "listfiltering", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_listB\": \"null\", \"nb_col\": \"\\\"2\\\"\", \"input_listA\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "20": { - "annotation": "", - "id": 20, - "input_connections": { - "input_file": { - "id": 19, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "SplitFile2x", - "outputs": [ - { - "name": "output_file1", - "type": "txt" - }, - { - "name": "output_file2", - "type": "txt" - } - ], - "position": { - "left": 3114.000244140625, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "SplitFile2x", - "tool_state": "{\"out_format\": \"\\\"pileup\\\"\", \"line_number\": \"\\\"4\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "21": { - "annotation": "", - "id": 21, - "input_connections": { - "input_assembly_file": { - "id": 0, - "output_name": "output" - }, - "input_variant_file": { - "id": 20, - "output_name": "output_file1" - } - }, - "inputs": [], - "name": "extractseq", - "outputs": [ - { - "name": "output_file", - "type": "fasta" - } - ], - "position": { - "left": 3442.000244140625, - "top": 211 - }, - "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": "0.03", - "type": "tool", - "user_outputs": [] - }, - "22": { - "annotation": "", - "id": 22, - "input_connections": { - "input_assembly_file": { - "id": 0, - "output_name": "output" - }, - "input_variant_file": { - "id": 20, - "output_name": "output_file2" - } - }, - "inputs": [], - "name": "extractseq", - "outputs": [ - { - "name": "output_file", - "type": "fasta" - } - ], - "position": { - "left": 3442.000244140625, - "top": 386 - }, - "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": "0.03", - "type": "tool", - "user_outputs": [] - }, - "23": { - "annotation": "", - "id": 23, - "input_connections": { - "db_opts|histdb": { - "id": 7, - "output_name": "outfile" - }, - "query": { - "id": 21, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "NCBI BLAST+ blastn", - "outputs": [ - { - "name": "output1", - "type": "tabular" - } - ], - "position": { - "left": 3770.000244140625, - "top": 211 - }, - "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": [] - }, - "24": { - "annotation": "", - "id": 24, - "input_connections": { - "db_opts|histdb": { - "id": 7, - "output_name": "outfile" - }, - "query": { - "id": 22, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "NCBI BLAST+ blastn", - "outputs": [ - { - "name": "output1", - "type": "tabular" - } - ], - "position": { - "left": 3770.000244140625, - "top": 352 - }, - "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\\\": \\\"0\\\"}\", \"__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": [] - }, - "25": { - "annotation": "", - "id": 25, - "input_connections": { - "input_blast_file": { - "id": 23, - "output_name": "output1" - }, - "input_variant_file": { - "id": 20, - "output_name": "output_file1" - } - }, - "inputs": [], - "name": "ParseBlastForUniqueMatch", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 4072.000228881836, - "top": 211 - }, - "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": "0.01", - "type": "tool", - "user_outputs": [] - }, - "26": { - "annotation": "", - "id": 26, - "input_connections": { - "input_blast_file": { - "id": 24, - "output_name": "output1" - }, - "input_variant_file": { - "id": 20, - "output_name": "output_file2" - } - }, - "inputs": [], - "name": "ParseBlastForUniqueMatch", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 4072.000228881836, - "top": 420 - }, - "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": "0.01", - "type": "tool", - "user_outputs": [] - }, - "27": { - "annotation": "", - "id": 27, - "input_connections": { - "input_file1": { - "id": 25, - "output_name": "output_file" - }, - "input_file2": { - "id": 26, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "MergeFile2x", - "outputs": [ - { - "name": "output_file", - "type": "txt" - } - ], - "position": { - "left": 4400.000228881836, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "MergeFile2x", - "tool_state": "{\"out_format\": \"\\\"pileup\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file1\": \"null\", \"input_file2\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "28": { - "annotation": "", - "id": 28, - "input_connections": { - "input_file": { - "id": 27, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "mpileupfilterandstat", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - }, - { - "name": "log_file", - "type": "txt" - } - ], - "position": { - "left": 4728.000244140625, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "mpileupfilterandstat", - "tool_state": "{\"__page__\": 0, \"stat\": \"{\\\"stat_dist_step\\\": \\\"50\\\", \\\"stat_min_depth_step\\\": \\\"2\\\", \\\"stat_max_depth_max\\\": \\\"200\\\", \\\"stat_min_depth_max\\\": \\\"10\\\", \\\"stat_freq_max\\\": \\\"1.0\\\", \\\"stat_min_depth_min\\\": \\\"2\\\", \\\"stat_max_depth_min\\\": \\\"100\\\", \\\"do_stat\\\": \\\"YES\\\", \\\"stat_dist_min\\\": \\\"0\\\", \\\"__current_case__\\\": 0, \\\"stat_max_depth_step\\\": \\\"100\\\", \\\"stat_dist_max\\\": \\\"50\\\", \\\"stat_freq_step\\\": \\\"0.1\\\", \\\"stat_freq_min\\\": \\\"0.8\\\"}\", \"input_file\": \"null\", \"min_frequency\": \"\\\"0.8\\\"\", \"do_stat\": \"\\\"YES\\\"\", \"min_depth\": \"\\\"2\\\"\", \"__rerun_remap_job_id__\": null, \"min_forward_and_reverse\": \"\\\"0\\\"\", \"max_depth\": \"\\\"100\\\"\", \"min_distance\": \"\\\"0\\\"\"}", - "tool_version": "0.08", - "type": "tool", - "user_outputs": [] - }, - "29": { - "annotation": "", - "id": 29, - "input_connections": { - "input_blast_filtered_part1_file": { - "id": 25, - "output_name": "output_file" - }, - "input_blast_filtered_part2_file": { - "id": 26, - "output_name": "output_file" - }, - "input_list_filtered_file": { - "id": 19, - "output_name": "output_file" - }, - "input_mpileup_variant_file": { - "id": 18, - "output_name": "output_file" - }, - "input_read1_part1_trimmed_file": { - "id": 8, - "output_name": "output_read1_file" - }, - "input_read1_part2_trimmed_file": { - "id": 9, - "output_name": "output_read1_file" - }, - "input_read1_row_file": { - "id": 1, - "output_name": "output" - }, - "input_read2_part1_trimmed_file": { - "id": 8, - "output_name": "output_read2_file" - }, - "input_read2_part2_trimmed_file": { - "id": 9, - "output_name": "output_read2_file" - }, - "input_read2_row_file": { - "id": 2, - "output_name": "output" - }, - "input_sam_filtered_part1_file": { - "id": 12, - "output_name": "output_file" - }, - "input_sam_filtered_part2_file": { - "id": 13, - "output_name": "output_file" - }, - "input_sam_row_part1_file": { - "id": 10, - "output_name": "output" - }, - "input_sam_row_part2_file": { - "id": 11, - "output_name": "output" - }, - "input_snp_selected_file": { - "id": 28, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "rapsosnp_stats2x", - "outputs": [ - { - "name": "output_file", - "type": "txt" - } - ], - "position": { - "left": 5056.000244140625, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "rapsosnp_stats2x", - "tool_state": "{\"input_blast_filtered_part1_file\": \"null\", \"input_blast_filtered_part2_file\": \"null\", \"input_sam_row_part2_file\": \"null\", \"input_read1_part1_trimmed_file\": \"null\", \"__page__\": 0, \"input_list_filtered_file\": \"null\", \"__rerun_remap_job_id__\": null, \"input_read2_row_file\": \"null\", \"input_mpileup_variant_file\": \"null\", \"input_read2_part1_trimmed_file\": \"null\", \"input_read1_row_file\": \"null\", \"input_sam_row_part1_file\": \"null\", \"input_sam_filtered_part2_file\": \"null\", \"input_read2_part2_trimmed_file\": \"null\", \"input_snp_selected_file\": \"null\", \"input_read1_part2_trimmed_file\": \"null\", \"input_sam_filtered_part1_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - } - } -}
--- a/rapsodyn/Galaxy-Workflow-rapsosnp_v1.16_-_4x.ga Wed Sep 10 10:24:01 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1564 +0,0 @@ -{ - "a_galaxy_workflow": "true", - "annotation": "", - "format-version": "0.1", - "name": "rapsosnp v1.15 - 4x", - "steps": { - "0": { - "annotation": "", - "id": 0, - "input_connections": {}, - "inputs": [ - { - "description": "", - "name": "READ1" - } - ], - "name": "Input dataset", - "outputs": [], - "position": { - "left": 214.7666015625, - "top": 723 - }, - "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": 219.7666015625, - "top": 1105 - }, - "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": 2639.7666015625, - "top": 587 - }, - "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": "DUBIUS" - } - ], - "name": "Input dataset", - "outputs": [], - "position": { - "left": 2449.7666015625, - "top": 1405 - }, - "tool_errors": null, - "tool_id": null, - "tool_state": "{\"name\": \"DUBIUS\"}", - "tool_version": null, - "type": "data_input", - "user_outputs": [] - }, - "4": { - "annotation": "", - "id": 4, - "input_connections": { - "input_file": { - "id": 0, - "output_name": "output" - } - }, - "inputs": [], - "name": "SplitFile4x", - "outputs": [ - { - "name": "output_file1", - "type": "txt" - }, - { - "name": "output_file2", - "type": "txt" - }, - { - "name": "output_file3", - "type": "txt" - }, - { - "name": "output_file4", - "type": "txt" - } - ], - "position": { - "left": 516.7666015625, - "top": 602.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "SplitFile4x", - "tool_state": "{\"out_format\": \"\\\"fastq\\\"\", \"line_number\": \"\\\"4\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "5": { - "annotation": "", - "id": 5, - "input_connections": { - "input_file": { - "id": 1, - "output_name": "output" - } - }, - "inputs": [], - "name": "SplitFile4x", - "outputs": [ - { - "name": "output_file1", - "type": "txt" - }, - { - "name": "output_file2", - "type": "txt" - }, - { - "name": "output_file3", - "type": "txt" - }, - { - "name": "output_file4", - "type": "txt" - } - ], - "position": { - "left": 519.7666015625, - "top": 920.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "SplitFile4x", - "tool_state": "{\"out_format\": \"\\\"fastq\\\"\", \"line_number\": \"\\\"4\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", - "tool_version": "0.01", - "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": 2796.7666015625, - "top": 404.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "fastaGroomerForMakeBlastdb", - "tool_state": "{\"input_fasta\": \"null\", \"__rerun_remap_job_id__\": null, \"__page__\": 0}", - "tool_version": "0.01", - "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" - } - ], - "position": { - "left": 891.7666015625, - "top": 481.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "PrepareFastqLight", - "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"illumina\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", - "tool_version": "0.01", - "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" - } - ], - "position": { - "left": 900.7666015625, - "top": 722.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "PrepareFastqLight", - "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"illumina\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", - "tool_version": "0.01", - "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" - } - ], - "position": { - "left": 890.7666015625, - "top": 947.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "PrepareFastqLight", - "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"illumina\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "10": { - "annotation": "", - "id": 10, - "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" - } - ], - "position": { - "left": 894.7666015625, - "top": 1175.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "PrepareFastqLight", - "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"illumina\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "11": { - "annotation": "", - "id": 11, - "input_connections": { - "input_file": { - "id": 6, - "output_name": "output_fasta" - } - }, - "inputs": [], - "name": "NCBI BLAST+ makeblastdb", - "outputs": [ - { - "name": "outfile", - "type": "data" - } - ], - "position": { - "left": 3514.2666625976562, - "top": 427.5 - }, - "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": [] - }, - "12": { - "annotation": "", - "id": 12, - "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": 1355.7666015625, - "top": 563 - }, - "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\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.2.3", - "type": "tool", - "user_outputs": [] - }, - "13": { - "annotation": "", - "id": 13, - "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": 1349.7666015625, - "top": 745 - }, - "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\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.2.3", - "type": "tool", - "user_outputs": [] - }, - "14": { - "annotation": "", - "id": 14, - "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": 1349.7666015625, - "top": 914 - }, - "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\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.2.3", - "type": "tool", - "user_outputs": [] - }, - "15": { - "annotation": "", - "id": 15, - "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": 1349.7666015625, - "top": 1094 - }, - "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\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.2.3", - "type": "tool", - "user_outputs": [] - }, - "16": { - "annotation": "", - "id": 16, - "input_connections": { - "input_sam_file": { - "id": 12, - "output_name": "output" - } - }, - "inputs": [], - "name": "filtersam_mapped_and_unique", - "outputs": [ - { - "name": "output_file", - "type": "sam" - } - ], - "position": { - "left": 1628.7666015625, - "top": 711 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "filtersam_mapped_and_unique", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"input_sam_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "17": { - "annotation": "", - "id": 17, - "input_connections": { - "input_sam_file": { - "id": 13, - "output_name": "output" - } - }, - "inputs": [], - "name": "filtersam_mapped_and_unique", - "outputs": [ - { - "name": "output_file", - "type": "sam" - } - ], - "position": { - "left": 1628.7666015625, - "top": 856 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "filtersam_mapped_and_unique", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"input_sam_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "18": { - "annotation": "", - "id": 18, - "input_connections": { - "input_sam_file": { - "id": 14, - "output_name": "output" - } - }, - "inputs": [], - "name": "filtersam_mapped_and_unique", - "outputs": [ - { - "name": "output_file", - "type": "sam" - } - ], - "position": { - "left": 1633.7666015625, - "top": 995 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "filtersam_mapped_and_unique", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"input_sam_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "19": { - "annotation": "", - "id": 19, - "input_connections": { - "input_sam_file": { - "id": 15, - "output_name": "output" - } - }, - "inputs": [], - "name": "filtersam_mapped_and_unique", - "outputs": [ - { - "name": "output_file", - "type": "sam" - } - ], - "position": { - "left": 1632.7666015625, - "top": 1149 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "filtersam_mapped_and_unique", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"input_sam_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "20": { - "annotation": "", - "id": 20, - "input_connections": { - "source|input1": { - "id": 16, - "output_name": "output_file" - }, - "source|ref_file": { - "id": 2, - "output_name": "output" - } - }, - "inputs": [], - "name": "SAM-to-BAM", - "outputs": [ - { - "name": "output1", - "type": "bam" - } - ], - "position": { - "left": 1952.7666015625, - "top": 756 - }, - "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, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", - "tool_version": "1.1.4", - "type": "tool", - "user_outputs": [] - }, - "21": { - "annotation": "", - "id": 21, - "input_connections": { - "source|input1": { - "id": 17, - "output_name": "output_file" - }, - "source|ref_file": { - "id": 2, - "output_name": "output" - } - }, - "inputs": [], - "name": "SAM-to-BAM", - "outputs": [ - { - "name": "output1", - "type": "bam" - } - ], - "position": { - "left": 1948.7666015625, - "top": 903 - }, - "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, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", - "tool_version": "1.1.4", - "type": "tool", - "user_outputs": [] - }, - "22": { - "annotation": "", - "id": 22, - "input_connections": { - "source|input1": { - "id": 18, - "output_name": "output_file" - }, - "source|ref_file": { - "id": 2, - "output_name": "output" - } - }, - "inputs": [], - "name": "SAM-to-BAM", - "outputs": [ - { - "name": "output1", - "type": "bam" - } - ], - "position": { - "left": 1948.7666015625, - "top": 1041 - }, - "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, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", - "tool_version": "1.1.4", - "type": "tool", - "user_outputs": [] - }, - "23": { - "annotation": "", - "id": 23, - "input_connections": { - "source|input1": { - "id": 19, - "output_name": "output_file" - }, - "source|ref_file": { - "id": 2, - "output_name": "output" - } - }, - "inputs": [], - "name": "SAM-to-BAM", - "outputs": [ - { - "name": "output1", - "type": "bam" - } - ], - "position": { - "left": 1948.7666015625, - "top": 1193 - }, - "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, \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", - "tool_version": "1.1.4", - "type": "tool", - "user_outputs": [] - }, - "24": { - "annotation": "", - "id": 24, - "input_connections": { - "input1": { - "id": 20, - "output_name": "output1" - }, - "input2": { - "id": 21, - "output_name": "output1" - }, - "inputs_0|input": { - "id": 22, - "output_name": "output1" - }, - "inputs_1|input": { - "id": 23, - "output_name": "output1" - } - }, - "inputs": [], - "name": "Merge BAM Files", - "outputs": [ - { - "name": "output1", - "type": "bam" - }, - { - "name": "outlog", - "type": "txt" - } - ], - "position": { - "left": 2265.7666015625, - "top": 1038 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/sam_merge/sam_merge2/1.1.2", - "tool_state": "{\"input2\": \"null\", \"inputs\": \"[{\\\"__index__\\\": 0, \\\"input\\\": null}, {\\\"__index__\\\": 1, \\\"input\\\": null}]\", \"input1\": \"null\", \"title\": \"\\\"merge bam\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"mergeSD\": \"\\\"True\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.1.2", - "type": "tool", - "user_outputs": [] - }, - "25": { - "annotation": "", - "id": 25, - "input_connections": { - "reference_source|input_bams_0|input_bam": { - "id": 24, - "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": 2401.7666015625, - "top": 764 - }, - "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, \"genotype_likelihood_computation_type\": \"{\\\"genotype_likelihood_computation_type_selector\\\": \\\"do_not_perform_genotype_likelihood_computation\\\", \\\"__current_case__\\\": 1}\", \"__rerun_remap_job_id__\": null, \"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\\\": \\\"30\\\", \\\"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\\\"}\", \"reference_source\": \"{\\\"ref_file\\\": null, \\\"reference_source_selector\\\": \\\"history\\\", \\\"input_bams\\\": [{\\\"__index__\\\": 0, \\\"input_bam\\\": null}], \\\"__current_case__\\\": 1}\", \"chromInfo\": \"\\\"/home/galaxy/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "0.0.3", - "type": "tool", - "user_outputs": [] - }, - "26": { - "annotation": "", - "id": 26, - "input_connections": { - "input_file": { - "id": 25, - "output_name": "output_mpileup" - } - }, - "inputs": [], - "name": "PileupVariant", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 2694.7666015625, - "top": 1264.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "PileupVariant", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "27": { - "annotation": "", - "id": 27, - "input_connections": { - "input_listA": { - "id": 26, - "output_name": "output_file" - }, - "input_listB": { - "id": 3, - "output_name": "output" - } - }, - "inputs": [], - "name": "listfiltering", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 2778.7666015625, - "top": 956.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "listfiltering", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_listB\": \"null\", \"nb_col\": \"\\\"2\\\"\", \"input_listA\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "28": { - "annotation": "", - "id": 28, - "input_connections": { - "input_file": { - "id": 27, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "SplitFile4x", - "outputs": [ - { - "name": "output_file1", - "type": "txt" - }, - { - "name": "output_file2", - "type": "txt" - }, - { - "name": "output_file3", - "type": "txt" - }, - { - "name": "output_file4", - "type": "txt" - } - ], - "position": { - "left": 3154, - "top": 906.88330078125 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "SplitFile4x", - "tool_state": "{\"out_format\": \"\\\"pileup\\\"\", \"line_number\": \"\\\"4\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "29": { - "annotation": "", - "id": 29, - "input_connections": { - "input_assembly_file": { - "id": 2, - "output_name": "output" - }, - "input_variant_file": { - "id": 28, - "output_name": "output_file1" - } - }, - "inputs": [], - "name": "extractseq", - "outputs": [ - { - "name": "output_file", - "type": "fasta" - } - ], - "position": { - "left": 3512, - "top": 711.8833312988281 - }, - "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": "0.03", - "type": "tool", - "user_outputs": [] - }, - "30": { - "annotation": "", - "id": 30, - "input_connections": { - "input_assembly_file": { - "id": 2, - "output_name": "output" - }, - "input_variant_file": { - "id": 28, - "output_name": "output_file2" - } - }, - "inputs": [], - "name": "extractseq", - "outputs": [ - { - "name": "output_file", - "type": "fasta" - } - ], - "position": { - "left": 3517, - "top": 880.8833312988281 - }, - "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": "0.03", - "type": "tool", - "user_outputs": [] - }, - "31": { - "annotation": "", - "id": 31, - "input_connections": { - "input_assembly_file": { - "id": 2, - "output_name": "output" - }, - "input_variant_file": { - "id": 28, - "output_name": "output_file3" - } - }, - "inputs": [], - "name": "extractseq", - "outputs": [ - { - "name": "output_file", - "type": "fasta" - } - ], - "position": { - "left": 3518, - "top": 1049.88330078125 - }, - "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": "0.03", - "type": "tool", - "user_outputs": [] - }, - "32": { - "annotation": "", - "id": 32, - "input_connections": { - "input_assembly_file": { - "id": 2, - "output_name": "output" - }, - "input_variant_file": { - "id": 28, - "output_name": "output_file4" - } - }, - "inputs": [], - "name": "extractseq", - "outputs": [ - { - "name": "output_file", - "type": "fasta" - } - ], - "position": { - "left": 3525, - "top": 1216.88330078125 - }, - "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": "0.03", - "type": "tool", - "user_outputs": [] - }, - "33": { - "annotation": "", - "id": 33, - "input_connections": { - "db_opts|histdb": { - "id": 11, - "output_name": "outfile" - }, - "query": { - "id": 29, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "NCBI BLAST+ blastn", - "outputs": [ - { - "name": "output1", - "type": "tabular" - } - ], - "position": { - "left": 3959.7666625976562, - "top": 695.5 - }, - "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": [] - }, - "34": { - "annotation": "", - "id": 34, - "input_connections": { - "db_opts|histdb": { - "id": 11, - "output_name": "outfile" - }, - "query": { - "id": 30, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "NCBI BLAST+ blastn", - "outputs": [ - { - "name": "output1", - "type": "tabular" - } - ], - "position": { - "left": 3961.7666625976562, - "top": 886.5 - }, - "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": [] - }, - "35": { - "annotation": "", - "id": 35, - "input_connections": { - "db_opts|histdb": { - "id": 11, - "output_name": "outfile" - }, - "query": { - "id": 31, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "NCBI BLAST+ blastn", - "outputs": [ - { - "name": "output1", - "type": "tabular" - } - ], - "position": { - "left": 3965.7666625976562, - "top": 1052.5 - }, - "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": [] - }, - "36": { - "annotation": "", - "id": 36, - "input_connections": { - "db_opts|histdb": { - "id": 11, - "output_name": "outfile" - }, - "query": { - "id": 32, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "NCBI BLAST+ blastn", - "outputs": [ - { - "name": "output1", - "type": "tabular" - } - ], - "position": { - "left": 3971.7666625976562, - "top": 1220.5 - }, - "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": [] - }, - "37": { - "annotation": "", - "id": 37, - "input_connections": { - "input_blast_file": { - "id": 33, - "output_name": "output1" - }, - "input_variant_file": { - "id": 28, - "output_name": "output_file1" - } - }, - "inputs": [], - "name": "ParseBlastForUniqueMatch", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 4286.5, - "top": 705 - }, - "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": "0.01", - "type": "tool", - "user_outputs": [] - }, - "38": { - "annotation": "", - "id": 38, - "input_connections": { - "input_blast_file": { - "id": 34, - "output_name": "output1" - }, - "input_variant_file": { - "id": 28, - "output_name": "output_file2" - } - }, - "inputs": [], - "name": "ParseBlastForUniqueMatch", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 4284.5, - "top": 904 - }, - "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": "0.01", - "type": "tool", - "user_outputs": [] - }, - "39": { - "annotation": "", - "id": 39, - "input_connections": { - "input_blast_file": { - "id": 35, - "output_name": "output1" - }, - "input_variant_file": { - "id": 28, - "output_name": "output_file3" - } - }, - "inputs": [], - "name": "ParseBlastForUniqueMatch", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 4287.5, - "top": 1103 - }, - "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": "0.01", - "type": "tool", - "user_outputs": [] - }, - "40": { - "annotation": "", - "id": 40, - "input_connections": { - "input_blast_file": { - "id": 36, - "output_name": "output1" - }, - "input_variant_file": { - "id": 28, - "output_name": "output_file4" - } - }, - "inputs": [], - "name": "ParseBlastForUniqueMatch", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 4281.5, - "top": 1305 - }, - "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": "0.01", - "type": "tool", - "user_outputs": [] - }, - "41": { - "annotation": "", - "id": 41, - "input_connections": { - "input_file1": { - "id": 37, - "output_name": "output_file" - }, - "input_file2": { - "id": 38, - "output_name": "output_file" - }, - "input_file3": { - "id": 39, - "output_name": "output_file" - }, - "input_file4": { - "id": 40, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "MergeFile4x", - "outputs": [ - { - "name": "output_file", - "type": "txt" - } - ], - "position": { - "left": 4700, - "top": 841.8833312988281 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "MergeFile4x", - "tool_state": "{\"out_format\": \"\\\"pileup\\\"\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file4\": \"null\", \"input_file1\": \"null\", \"input_file2\": \"null\", \"input_file3\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "42": { - "annotation": "", - "id": 42, - "input_connections": { - "input_file": { - "id": 41, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "mpileupfilterandstat", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - }, - { - "name": "log_file", - "type": "txt" - } - ], - "position": { - "left": 5056, - "top": 886.8833312988281 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "mpileupfilterandstat", - "tool_state": "{\"__page__\": 0, \"stat\": \"{\\\"stat_dist_step\\\": \\\"50\\\", \\\"stat_min_depth_step\\\": \\\"2\\\", \\\"stat_max_depth_max\\\": \\\"200\\\", \\\"stat_min_depth_max\\\": \\\"10\\\", \\\"stat_freq_max\\\": \\\"1.0\\\", \\\"stat_min_depth_min\\\": \\\"2\\\", \\\"stat_max_depth_min\\\": \\\"100\\\", \\\"do_stat\\\": \\\"YES\\\", \\\"stat_dist_min\\\": \\\"0\\\", \\\"__current_case__\\\": 0, \\\"stat_max_depth_step\\\": \\\"100\\\", \\\"stat_dist_max\\\": \\\"50\\\", \\\"stat_freq_step\\\": \\\"0.1\\\", \\\"stat_freq_min\\\": \\\"0.8\\\"}\", \"input_file\": \"null\", \"min_frequency\": \"\\\"0.8\\\"\", \"do_stat\": \"\\\"YES\\\"\", \"min_depth\": \"\\\"2\\\"\", \"__rerun_remap_job_id__\": null, \"min_forward_and_reverse\": \"\\\"0\\\"\", \"max_depth\": \"\\\"100\\\"\", \"min_distance\": \"\\\"0\\\"\"}", - "tool_version": "0.08", - "type": "tool", - "user_outputs": [] - }, - "43": { - "annotation": "", - "id": 43, - "input_connections": { - "input_blast_filtered_part1_file": { - "id": 37, - "output_name": "output_file" - }, - "input_blast_filtered_part2_file": { - "id": 38, - "output_name": "output_file" - }, - "input_blast_filtered_part3_file": { - "id": 39, - "output_name": "output_file" - }, - "input_blast_filtered_part4_file": { - "id": 40, - "output_name": "output_file" - }, - "input_list_filtered_file": { - "id": 27, - "output_name": "output_file" - }, - "input_mpileup_variant_file": { - "id": 26, - "output_name": "output_file" - }, - "input_read1_part1_trimmed_file": { - "id": 7, - "output_name": "output_read1_file" - }, - "input_read1_part2_trimmed_file": { - "id": 8, - "output_name": "output_read1_file" - }, - "input_read1_part3_trimmed_file": { - "id": 9, - "output_name": "output_read1_file" - }, - "input_read1_part4_trimmed_file": { - "id": 10, - "output_name": "output_read1_file" - }, - "input_read1_row_file": { - "id": 0, - "output_name": "output" - }, - "input_read2_part1_trimmed_file": { - "id": 7, - "output_name": "output_read2_file" - }, - "input_read2_part2_trimmed_file": { - "id": 8, - "output_name": "output_read2_file" - }, - "input_read2_part3_trimmed_file": { - "id": 9, - "output_name": "output_read2_file" - }, - "input_read2_part4_trimmed_file": { - "id": 10, - "output_name": "output_read2_file" - }, - "input_read2_row_file": { - "id": 1, - "output_name": "output" - }, - "input_sam_filtered_part1_file": { - "id": 16, - "output_name": "output_file" - }, - "input_sam_filtered_part2_file": { - "id": 17, - "output_name": "output_file" - }, - "input_sam_filtered_part3_file": { - "id": 18, - "output_name": "output_file" - }, - "input_sam_filtered_part4_file": { - "id": 19, - "output_name": "output_file" - }, - "input_sam_row_part1_file": { - "id": 12, - "output_name": "output" - }, - "input_sam_row_part2_file": { - "id": 13, - "output_name": "output" - }, - "input_sam_row_part3_file": { - "id": 14, - "output_name": "output" - }, - "input_sam_row_part4_file": { - "id": 15, - "output_name": "output" - }, - "input_snp_selected_file": { - "id": 42, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "rapsosnp_stats4x", - "outputs": [ - { - "name": "output_file", - "type": "txt" - } - ], - "position": { - "left": 5447.5, - "top": 211 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "rapsosnp_stats4x", - "tool_state": "{\"input_blast_filtered_part2_file\": \"null\", \"input_blast_filtered_part3_file\": \"null\", \"input_read2_part1_trimmed_file\": \"null\", \"input_read1_row_file\": \"null\", \"input_read1_part2_trimmed_file\": \"null\", \"input_read1_part4_trimmed_file\": \"null\", \"input_read1_part3_trimmed_file\": \"null\", \"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_mpileup_variant_file\": \"null\", \"input_sam_row_part1_file\": \"null\", \"input_blast_filtered_part1_file\": \"null\", \"input_sam_row_part4_file\": \"null\", \"input_sam_filtered_part1_file\": \"null\", \"input_read2_part3_trimmed_file\": \"null\", \"input_read2_part4_trimmed_file\": \"null\", \"input_sam_filtered_part3_file\": \"null\", \"input_sam_filtered_part4_file\": \"null\", \"input_sam_row_part2_file\": \"null\", \"input_read1_part1_trimmed_file\": \"null\", \"input_read2_row_file\": \"null\", \"input_blast_filtered_part4_file\": \"null\", \"input_sam_row_part3_file\": \"null\", \"input_sam_filtered_part2_file\": \"null\", \"input_read2_part2_trimmed_file\": \"null\", \"input_snp_selected_file\": \"null\", \"input_list_filtered_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - } - } -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/Galaxy-Workflow-rapsosnp_v1.17.ga Thu Sep 11 03:10:47 2014 -0400 @@ -0,0 +1,586 @@ +{ + "a_galaxy_workflow": "true", + "annotation": "", + "format-version": "0.1", + "name": "rapsosnp v1.17", + "steps": { + "0": { + "annotation": "", + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "ASSEMBLY" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 200, + "top": 200 + }, + "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": 285 + }, + "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": 370 + }, + "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": 455 + }, + "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": 428, + "top": 200 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "fastaGroomerForMakeBlastdb", + "tool_state": "{\"input_fasta\": \"null\", \"__rerun_remap_job_id__\": null, \"__page__\": 0}", + "tool_version": "0.01", + "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" + } + ], + "position": { + "left": 428, + "top": 331 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "PrepareFastqLight", + "tool_state": "{\"__page__\": 0, \"quality_type\": \"\\\"illumina\\\"\", \"min_length\": \"\\\"30\\\"\", \"__rerun_remap_job_id__\": null, \"min_quality\": \"\\\"30\\\"\", \"input_read1_file\": \"null\", \"input_read2_file\": \"null\"}", + "tool_version": "0.01", + "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": 756, + "top": 200 + }, + "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": 756, + "top": 358 + }, + "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_file", + "type": "sam" + } + ], + "position": { + "left": 1084, + "top": 200 + }, + "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": "0.01", + "type": "tool", + "user_outputs": [] + }, + "9": { + "annotation": "", + "id": 9, + "input_connections": { + "source|input1": { + "id": 8, + "output_name": "output_file" + }, + "source|ref_file": { + "id": 0, + "output_name": "output" + } + }, + "inputs": [], + "name": "SAM-to-BAM", + "outputs": [ + { + "name": "output1", + "type": "bam" + } + ], + "position": { + "left": 1412, + "top": 200 + }, + "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" + } + }, + "inputs": [], + "name": "MPileup", + "outputs": [ + { + "name": "output_mpileup", + "type": "pileup" + }, + { + "name": "output_log", + "type": "txt" + } + ], + "position": { + "left": 1640, + "top": 200 + }, + "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\\\": \\\"30\\\", \\\"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_file": { + "id": 10, + "output_name": "output_mpileup" + } + }, + "inputs": [], + "name": "PileupVariant", + "outputs": [ + { + "name": "output_file", + "type": "pileup" + } + ], + "position": { + "left": 1907, + "top": 200 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "PileupVariant", + "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_file\": \"null\"}", + "tool_version": "0.01", + "type": "tool", + "user_outputs": [] + }, + "12": { + "annotation": "", + "id": 12, + "input_connections": { + "input_listA": { + "id": 11, + "output_name": "output_file" + }, + "input_listB": { + "id": 3, + "output_name": "output" + } + }, + "inputs": [], + "name": "listfiltering", + "outputs": [ + { + "name": "output_file", + "type": "pileup" + } + ], + "position": { + "left": 2235, + "top": 200 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "listfiltering", + "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"input_listB\": \"null\", \"nb_col\": \"\\\"2\\\"\", \"input_listA\": \"null\"}", + "tool_version": "0.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": 2563, + "top": 200 + }, + "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": "0.03", + "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": 2891, + "top": 200 + }, + "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_file", + "type": "pileup" + } + ], + "position": { + "left": 3193, + "top": 200 + }, + "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": "0.01", + "type": "tool", + "user_outputs": [] + }, + "16": { + "annotation": "", + "id": 16, + "input_connections": { + "input_file": { + "id": 15, + "output_name": "output_file" + } + }, + "inputs": [], + "name": "mpileupfilterandstat", + "outputs": [ + { + "name": "output_file", + "type": "pileup" + }, + { + "name": "log_file", + "type": "txt" + } + ], + "position": { + "left": 3521, + "top": 200 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "mpileupfilterandstat", + "tool_state": "{\"__page__\": 0, \"stat\": \"{\\\"stat_dist_step\\\": \\\"50\\\", \\\"stat_min_depth_step\\\": \\\"2\\\", \\\"stat_max_depth_max\\\": \\\"200\\\", \\\"stat_min_depth_max\\\": \\\"10\\\", \\\"stat_freq_max\\\": \\\"1.0\\\", \\\"stat_min_depth_min\\\": \\\"2\\\", \\\"stat_max_depth_min\\\": \\\"100\\\", \\\"do_stat\\\": \\\"YES\\\", \\\"stat_dist_min\\\": \\\"0\\\", \\\"__current_case__\\\": 0, \\\"stat_max_depth_step\\\": \\\"100\\\", \\\"stat_dist_max\\\": \\\"50\\\", \\\"stat_freq_step\\\": \\\"0.1\\\", \\\"stat_freq_min\\\": \\\"0.8\\\"}\", \"input_file\": \"null\", \"min_frequency\": \"\\\"1.0\\\"\", \"min_depth\": \"\\\"2\\\"\", \"__rerun_remap_job_id__\": null, \"min_forward_and_reverse\": \"\\\"0\\\"\", \"max_depth\": \"\\\"100\\\"\", \"min_distance\": \"\\\"50\\\"\"}", + "tool_version": "0.08", + "type": "tool", + "user_outputs": [] + }, + "17": { + "annotation": "", + "id": 17, + "input_connections": { + "input_blast_filtered_file": { + "id": 15, + "output_name": "output_file" + }, + "input_list_filtered_file": { + "id": 12, + "output_name": "output_file" + }, + "input_mpileup_variant_file": { + "id": 11, + "output_name": "output_file" + }, + "input_read1_row_file": { + "id": 1, + "output_name": "output" + }, + "input_read1_trimmed_file": { + "id": 5, + "output_name": "output_read1_file" + }, + "input_read2_row_file": { + "id": 2, + "output_name": "output" + }, + "input_read2_trimmed_file": { + "id": 5, + "output_name": "output_read2_file" + }, + "input_sam_filtered_file": { + "id": 8, + "output_name": "output_file" + }, + "input_sam_row_file": { + "id": 7, + "output_name": "output" + }, + "input_snp_selected_file": { + "id": 16, + "output_name": "output_file" + } + }, + "inputs": [], + "name": "rapsosnp_stats", + "outputs": [ + { + "name": "output_file", + "type": "txt" + } + ], + "position": { + "left": 3849, + "top": 200 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "rapsosnp_stats", + "tool_state": "{\"input_read1_trimmed_file\": \"null\", \"__page__\": 0, \"input_read2_trimmed_file\": \"null\", \"input_sam_row_file\": \"null\", \"__rerun_remap_job_id__\": null, \"input_read2_row_file\": \"null\", \"input_mpileup_variant_file\": \"null\", \"input_sam_filtered_file\": \"null\", \"input_read1_row_file\": \"null\", \"input_snp_selected_file\": \"null\", \"input_list_filtered_file\": \"null\", \"input_blast_filtered_file\": \"null\"}", + "tool_version": "0.01", + "type": "tool", + "user_outputs": [] + } + } +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/rapsosnp_stats2x.pl Thu Sep 11 03:10:47 2014 -0400 @@ -0,0 +1,307 @@ +#!/usr/bin/perl +use strict; +use warnings; + +my $read1_row = $ARGV[0]; +my $read2_row = $ARGV[1]; + +my $read1_trimmed_part1 = $ARGV[2]; +my $read1_trimmed_part2 = $ARGV[3]; +my $read2_trimmed_part1 = $ARGV[4]; +my $read2_trimmed_part2 = $ARGV[5]; + +my $sam_row_part1 = $ARGV[6]; +my $sam_row_part2 = $ARGV[7]; +my $sam_filtered_part1 = $ARGV[8]; +my $sam_filtered_part2 = $ARGV[9]; + +my $mpileup_variant = $ARGV[10]; + +my $list_filtered = $ARGV[11]; + +my $blast_filtered_part1 = $ARGV[12]; +my $blast_filtered_part2 = $ARGV[13]; + +my $snp_selected = $ARGV[14]; + + +open(INR1R, $read1_row) or die ("Can't open $read1_row\n"); +my $nbread=0; +my $nbbase =0; +while (my $line1=<INR1R>){ + my $line2 = <INR1R>; + my $line3 = <INR1R>; + my $line4 = <INR1R>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + } +} +print "Row Reads 1\t\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; +close (INR1R); + + + + +open(INR2R, $read2_row) or die ("Can't open $read2_row\n"); +$nbread=0; +$nbbase =0; +while (my $line1=<INR2R>){ + my $line2 = <INR2R>; + my $line3 = <INR2R>; + my $line4 = <INR2R>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + } +} +print "Row Reads 2\t\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; +close (INR2R); + + + + + +open(INR1TP1, $read1_trimmed_part1) or die ("Can't open $read1_trimmed_part1\n"); +$nbread=0; +$nbbase =0; +while (my $line1=<INR1TP1>){ + my $line2 = <INR1TP1>; + my $line3 = <INR1TP1>; + my $line4 = <INR1TP1>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR1TP1); +open(INR1TP2, $read1_trimmed_part2) or die ("Can't open $read1_trimmed_part2\n"); +while (my $line1=<INR1TP2>){ + my $line2 = <INR1TP2>; + my $line3 = <INR1TP2>; + my $line4 = <INR1TP2>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR1TP2); +print "Trimmed Reads 1\t\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; + + + + +open(INR2TP1, $read2_trimmed_part1) or die ("Can't open $read2_trimmed_part1\n"); +$nbread=0; +$nbbase =0; +while (my $line1=<INR2TP1>){ + my $line2 = <INR2TP1>; + my $line3 = <INR2TP1>; + my $line4 = <INR2TP1>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR2TP2); +open(INR2TP2, $read2_trimmed_part2) or die ("Can't open $read2_trimmed_part2\n"); +while (my $line1=<INR2TP2>){ + my $line2 = <INR2TP2>; + my $line3 = <INR2TP2>; + my $line4 = <INR2TP2>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR2TP2); +print "Trimmed Reads 2\t\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; + + + + +print "\nSAM row\n"; +open(SAMP1, $sam_row_part1) or die ("Can't open $sam_row_part1\n"); +my %bitscore; +while (my $line=<SAMP1>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMP1); +open(SAMP2, $sam_row_part2) or die ("Can't open $sam_row_part2\n"); +while (my $line=<SAMP2>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMP2); +print "bitscore\t"; +foreach my $key (sort {$bitscore{$b} <=> $bitscore{$a}} keys %bitscore) { + print $key,"\t*\t"; +} +print "\n"; +print " number \t"; +foreach my $key (sort {$bitscore{$b} <=> $bitscore{$a}} keys %bitscore) { + print $bitscore{$key},"\t*\t"; +} +print "\n"; + + + + +print "\nSAM filtered\n"; +open(SAMFP1, $sam_filtered_part1) or die ("Can't open $sam_filtered_part1\n"); +undef %bitscore; +while (my $line=<SAMFP1>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMFP1); +open(SAMFP2, $sam_filtered_part2) or die ("Can't open $sam_filtered_part2\n"); +while (my $line=<SAMFP2>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMFP2); +print "bitscore\t"; +foreach my $key (sort {$bitscore{$b} <=> $bitscore{$a}} keys %bitscore) { + print $key,"\t*\t"; +} +print "\n"; +print " number \t"; +foreach my $key (sort {$bitscore{$b} <=> $bitscore{$a}} keys %bitscore) { + print $bitscore{$key},"\t*\t"; +} +print "\n"; + + + + +print "\nMPILEUP variant\n"; +open(MPV, $mpileup_variant) or die ("Can't open $mpileup_variant\n"); +my $nbvariant=0; +while (my $line=<MPV>){ + my @fields = split(/\s+/,$line); + if ($#fields >= 4){ + my $match = $fields[4]; + $match =~ s/\$//g; #the read start at this position + $match =~ s/\^.//g; #the read end at this position followed by quality char + if ($match =~/[ACGTNacgtn]+/){ + $nbvariant++; + } + } + else { + #print STDERR "Erreur : $line\n"; + } +} +print "Variant detected :\t$nbvariant\n"; +close (MPV); + + + + + + +print "\nMPILEUP filtered without dubious position\n"; +open(LF, $list_filtered) or die ("Can't open $list_filtered\n"); +$nbvariant=0; +while (my $line=<LF>){ + $nbvariant++; +} +print "Variant selected :\t$nbvariant\n"; +close (LF); + + + + + +print "\nMPILEUP filtered without dubious position and BLAST\n"; +open(BFP1, $blast_filtered_part1) or die ("Can't open $blast_filtered_part1\n"); +$nbvariant=0; +while (my $line=<BFP1>){ + $nbvariant++; +} +close (BFP1); +open(BFP2, $blast_filtered_part2) or die ("Can't open $blast_filtered_part2\n"); +while (my $line=<BFP2>){ + $nbvariant++; +} +close (BFP2); +print "Variant selected :\t$nbvariant\n"; + + + + + +print "\nSNP selected after mpileup filtering : \t"; +open(SNP, $snp_selected) or die ("Can't open $snp_selected\n"); +$nbvariant=0; +while (my $line=<SNP>){ + $nbvariant++; +} + +print "$nbvariant\n"; +close (SNP); + + + + + + + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/rapsosnp_stats2x.xml Thu Sep 11 03:10:47 2014 -0400 @@ -0,0 +1,31 @@ +<tool id="rapsosnp_stats2x" name="rapsosnp_stats2x" version="0.01"> +<description>Stats for rapsosnp workflow</description> +<command interpreter="perl"> + rapsosnp_stats2x.pl $input_read1_row_file $input_read2_row_file $input_read1_part1_trimmed_file $input_read1_part2_trimmed_file $input_read2_part1_trimmed_file $input_read2_part2_trimmed_file $input_sam_row_part1_file $input_sam_row_part2_file $input_sam_filtered_part1_file $input_sam_filtered_part2_file $input_mpileup_variant_file $input_list_filtered_file $input_blast_filtered_part1_file $input_blast_filtered_part2_file $input_snp_selected_file > $output_file +</command> +<inputs> +<param name="input_read1_row_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ1 ROW file from your history"/> +<param name="input_read2_row_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ2 ROW file from your history"/> +<param name="input_read1_part1_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ1 PART1 TRIMMED file from your history"/> +<param name="input_read1_part2_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ1 PART2 TRIMMED file from your history"/> +<param name="input_read2_part1_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ2 PART1 TRIMMED file from your history"/> +<param name="input_read2_part2_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ2 PART2 TRIMMED file from your history"/> +<param name="input_sam_row_part1_file" type="data" format="sam" label="Select a suitable input SAM PART1 file from your history"/> +<param name="input_sam_row_part2_file" type="data" format="sam" label="Select a suitable input SAM PART2 file from your history"/> +<param name="input_sam_filtered_part1_file" type="data" format="sam" label="Select a suitable input SAM PART1 FILTERED file from your history"/> +<param name="input_sam_filtered_part2_file" type="data" format="sam" label="Select a suitable input SAM PART2 FILTERED file from your history"/> +<param name="input_mpileup_variant_file" type="data" format="pileup" label="Select a suitable input MPILEUP VARIANT file from your history"/> +<param name="input_list_filtered_file" type="data" format="pileup" label="Select a suitable input LIST FILTERED file from your history"/> +<param name="input_blast_filtered_part1_file" type="data" format="pileup" label="Select a suitable input BLAST FILTERED PART1 file from your history"/> +<param name="input_blast_filtered_part2_file" type="data" format="pileup" label="Select a suitable input BLAST FILTERED PART2 file from your history"/> +<param name="input_snp_selected_file" type="data" format="pileup" label="Select a suitable input SNP SELECTED file from your history"/> +</inputs> +<outputs> + <data name="output_file" format="txt" label="STATS"/> +</outputs> + + +<help> + +</help> +</tool>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/rapsosnp_stats4x.pl Thu Sep 11 03:10:47 2014 -0400 @@ -0,0 +1,447 @@ +#!/usr/bin/perl +use strict; +use warnings; + +my $read1_row = $ARGV[0]; +my $read2_row = $ARGV[1]; + +my $read1_trimmed_part1 = $ARGV[2]; +my $read1_trimmed_part2 = $ARGV[3]; +my $read1_trimmed_part3 = $ARGV[4]; +my $read1_trimmed_part4 = $ARGV[5]; +my $read2_trimmed_part1 = $ARGV[6]; +my $read2_trimmed_part2 = $ARGV[7]; +my $read2_trimmed_part3 = $ARGV[8]; +my $read2_trimmed_part4 = $ARGV[9]; + +my $sam_row_part1 = $ARGV[10]; +my $sam_row_part2 = $ARGV[11]; +my $sam_row_part3 = $ARGV[12]; +my $sam_row_part4 = $ARGV[13]; +my $sam_filtered_part1 = $ARGV[14]; +my $sam_filtered_part2 = $ARGV[15]; +my $sam_filtered_part3 = $ARGV[16]; +my $sam_filtered_part4 = $ARGV[17]; + +my $mpileup_variant = $ARGV[18]; + +my $list_filtered = $ARGV[19]; + +my $blast_filtered_part1 = $ARGV[20]; +my $blast_filtered_part2 = $ARGV[21]; +my $blast_filtered_part3 = $ARGV[22]; +my $blast_filtered_part4 = $ARGV[23]; + +my $snp_selected = $ARGV[24]; + + +open(INR1R, $read1_row) or die ("Can't open $read1_row\n"); +my $nbread=0; +my $nbbase =0; +while (my $line1=<INR1R>){ + my $line2 = <INR1R>; + my $line3 = <INR1R>; + my $line4 = <INR1R>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + } +} +print "Row Reads 1\t\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; +close (INR1R); + + + + +open(INR2R, $read2_row) or die ("Can't open $read2_row\n"); +$nbread=0; +$nbbase =0; +while (my $line1=<INR2R>){ + my $line2 = <INR2R>; + my $line3 = <INR2R>; + my $line4 = <INR2R>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + } +} +print "Row Reads 2\t\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; +close (INR2R); + + + + + +open(INR1TP1, $read1_trimmed_part1) or die ("Can't open $read1_trimmed_part1\n"); +$nbread=0; +$nbbase =0; +while (my $line1=<INR1TP1>){ + my $line2 = <INR1TP1>; + my $line3 = <INR1TP1>; + my $line4 = <INR1TP1>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR1TP1); +open(INR1TP2, $read1_trimmed_part2) or die ("Can't open $read1_trimmed_part2\n"); +while (my $line1=<INR1TP2>){ + my $line2 = <INR1TP2>; + my $line3 = <INR1TP2>; + my $line4 = <INR1TP2>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR1TP2); +open(INR1TP3, $read1_trimmed_part3) or die ("Can't open $read1_trimmed_part3\n"); +while (my $line1=<INR1TP3>){ + my $line2 = <INR1TP3>; + my $line3 = <INR1TP3>; + my $line4 = <INR1TP3>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR1TP3); +open(INR1TP4, $read1_trimmed_part4) or die ("Can't open $read1_trimmed_part4\n"); +while (my $line1=<INR1TP4>){ + my $line2 = <INR1TP4>; + my $line3 = <INR1TP4>; + my $line4 = <INR1TP4>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR1TP4); +print "Trimmed Reads 1\t\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; + + + + +open(INR2TP1, $read2_trimmed_part1) or die ("Can't open $read2_trimmed_part1\n"); +$nbread=0; +$nbbase =0; +while (my $line1=<INR2TP1>){ + my $line2 = <INR2TP1>; + my $line3 = <INR2TP1>; + my $line4 = <INR2TP1>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR2TP2); +open(INR2TP2, $read2_trimmed_part2) or die ("Can't open $read2_trimmed_part2\n"); +while (my $line1=<INR2TP2>){ + my $line2 = <INR2TP2>; + my $line3 = <INR2TP2>; + my $line4 = <INR2TP2>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR2TP2); +open(INR2TP3, $read2_trimmed_part3) or die ("Can't open $read2_trimmed_part3\n"); +while (my $line1=<INR2TP3>){ + my $line2 = <INR2TP3>; + my $line3 = <INR2TP3>; + my $line4 = <INR2TP3>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR2TP3); +open(INR2TP4, $read2_trimmed_part4) or die ("Can't open $read2_trimmed_part4\n"); +while (my $line1=<INR2TP4>){ + my $line2 = <INR2TP4>; + my $line3 = <INR2TP4>; + my $line4 = <INR2TP4>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +close (INR2TP4); +print "Trimmed Reads 2\t\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; + + + + +print "\nSAM row\n"; +open(SAMP1, $sam_row_part1) or die ("Can't open $sam_row_part1\n"); +my %bitscore; +while (my $line=<SAMP1>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMP1); +open(SAMP2, $sam_row_part2) or die ("Can't open $sam_row_part2\n"); +while (my $line=<SAMP2>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMP2); +open(SAMP3, $sam_row_part3) or die ("Can't open $sam_row_part3\n"); +while (my $line=<SAMP3>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMP3); +open(SAMP4, $sam_row_part4) or die ("Can't open $sam_row_part4\n"); +while (my $line=<SAMP4>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMP4); +print "bitscore\t"; +foreach my $key (sort {$bitscore{$b} <=> $bitscore{$a}} keys %bitscore) { + print $key,"\t*\t"; +} +print "\n"; +print " number \t"; +foreach my $key (sort {$bitscore{$b} <=> $bitscore{$a}} keys %bitscore) { + print $bitscore{$key},"\t*\t"; +} +print "\n"; + + + + +print "\nSAM filtered\n"; +open(SAMFP1, $sam_filtered_part1) or die ("Can't open $sam_filtered_part1\n"); +undef %bitscore; +while (my $line=<SAMFP1>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMFP1); +open(SAMFP2, $sam_filtered_part2) or die ("Can't open $sam_filtered_part2\n"); +while (my $line=<SAMFP2>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMFP2); +open(SAMFP3, $sam_filtered_part3) or die ("Can't open $sam_filtered_part3\n"); +while (my $line=<SAMFP3>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMFP3); +open(SAMFP4, $sam_filtered_part4) or die ("Can't open $sam_filtered_part4\n"); +while (my $line=<SAMFP4>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} +close (SAMFP4); +print "bitscore\t"; +foreach my $key (sort {$bitscore{$b} <=> $bitscore{$a}} keys %bitscore) { + print $key,"\t*\t"; +} +print "\n"; +print " number \t"; +foreach my $key (sort {$bitscore{$b} <=> $bitscore{$a}} keys %bitscore) { + print $bitscore{$key},"\t*\t"; +} +print "\n"; + + + + +print "\nMPILEUP variant\n"; +open(MPV, $mpileup_variant) or die ("Can't open $mpileup_variant\n"); +my $nbvariant=0; +while (my $line=<MPV>){ + my @fields = split(/\s+/,$line); + if ($#fields >= 4){ + my $match = $fields[4]; + $match =~ s/\$//g; #the read start at this position + $match =~ s/\^.//g; #the read end at this position followed by quality char + if ($match =~/[ACGTNacgtn]+/){ + $nbvariant++; + } + } + else { + #print STDERR "Erreur : $line\n"; + } +} +print "Variant detected :\t$nbvariant\n"; +close (MPV); + + + + + + +print "\nMPILEUP filtered without dubious position\n"; +open(LF, $list_filtered) or die ("Can't open $list_filtered\n"); +$nbvariant=0; +while (my $line=<LF>){ + $nbvariant++; +} +print "Variant selected :\t$nbvariant\n"; +close (LF); + + + + + +print "\nMPILEUP filtered without dubious position and BLAST\n"; +open(BFP1, $blast_filtered_part1) or die ("Can't open $blast_filtered_part1\n"); +$nbvariant=0; +while (my $line=<BFP1>){ + $nbvariant++; +} +close (BFP1); +open(BFP2, $blast_filtered_part2) or die ("Can't open $blast_filtered_part2\n"); +while (my $line=<BFP2>){ + $nbvariant++; +} +close (BFP2); +open(BFP3, $blast_filtered_part3) or die ("Can't open $blast_filtered_part3\n"); +while (my $line=<BFP3>){ + $nbvariant++; +} +close (BFP3); +open(BFP4, $blast_filtered_part4) or die ("Can't open $blast_filtered_part4\n"); +while (my $line=<BFP4>){ + $nbvariant++; +} +close (BFP4); +print "Variant selected :\t$nbvariant\n"; + + + + + +print "\nSNP selected after mpileup filtering : \t"; +open(SNP, $snp_selected) or die ("Can't open $snp_selected\n"); +$nbvariant=0; +while (my $line=<SNP>){ + $nbvariant++; +} + +print "$nbvariant\n"; +close (SNP); + + + + + + + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/rapsosnp_stats4x.xml Thu Sep 11 03:10:47 2014 -0400 @@ -0,0 +1,47 @@ +<tool id="rapsosnp_stats4x" name="rapsosnp_stats4x" version="0.01"> +<description>Stats for rapsosnp workflow</description> +<command interpreter="perl"> + rapsosnp_stats4x.pl $input_read1_row_file $input_read2_row_file $input_read1_part1_trimmed_file $input_read1_part2_trimmed_file $input_read1_part3_trimmed_file $input_read1_part4_trimmed_file $input_read2_part1_trimmed_file $input_read2_part2_trimmed_file $input_read2_part3_trimmed_file $input_read2_part4_trimmed_file $input_sam_row_part1_file $input_sam_row_part2_file $input_sam_row_part3_file $input_sam_row_part4_file $input_sam_filtered_part1_file $input_sam_filtered_part2_file $input_sam_filtered_part3_file $input_sam_filtered_part4_file $input_mpileup_variant_file $input_list_filtered_file $input_blast_filtered_part1_file $input_blast_filtered_part2_file $input_blast_filtered_part3_file $input_blast_filtered_part4_file $input_snp_selected_file > $output_file +</command> +<inputs> +<param name="input_read1_row_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ1 ROW file from your history"/> +<param name="input_read2_row_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ2 ROW file from your history"/> + +<param name="input_read1_part1_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ1 PART1 TRIMMED file from your history"/> +<param name="input_read1_part2_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ1 PART2 TRIMMED file from your history"/> +<param name="input_read1_part3_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ1 PART3 TRIMMED file from your history"/> +<param name="input_read1_part4_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ1 PART4 TRIMMED file from your history"/> +<param name="input_read2_part1_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ2 PART1 TRIMMED file from your history"/> +<param name="input_read2_part2_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ2 PART2 TRIMMED file from your history"/> +<param name="input_read2_part3_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ2 PART3 TRIMMED file from your history"/> +<param name="input_read2_part4_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ2 PART4 TRIMMED file from your history"/> + +<param name="input_sam_row_part1_file" type="data" format="sam" label="Select a suitable input SAM PART1 file from your history"/> +<param name="input_sam_row_part2_file" type="data" format="sam" label="Select a suitable input SAM PART2 file from your history"/> +<param name="input_sam_row_part3_file" type="data" format="sam" label="Select a suitable input SAM PART3 file from your history"/> +<param name="input_sam_row_part4_file" type="data" format="sam" label="Select a suitable input SAM PART4 file from your history"/> +<param name="input_sam_filtered_part1_file" type="data" format="sam" label="Select a suitable input SAM PART1 FILTERED file from your history"/> +<param name="input_sam_filtered_part2_file" type="data" format="sam" label="Select a suitable input SAM PART2 FILTERED file from your history"/> +<param name="input_sam_filtered_part3_file" type="data" format="sam" label="Select a suitable input SAM PART3 FILTERED file from your history"/> +<param name="input_sam_filtered_part4_file" type="data" format="sam" label="Select a suitable input SAM PART4 FILTERED file from your history"/> + + +<param name="input_mpileup_variant_file" type="data" format="pileup" label="Select a suitable input MPILEUP VARIANT file from your history"/> +<param name="input_list_filtered_file" type="data" format="pileup" label="Select a suitable input LIST FILTERED file from your history"/> + +<param name="input_blast_filtered_part1_file" type="data" format="pileup" label="Select a suitable input BLAST FILTERED PART1 file from your history"/> +<param name="input_blast_filtered_part2_file" type="data" format="pileup" label="Select a suitable input BLAST FILTERED PART2 file from your history"/> +<param name="input_blast_filtered_part3_file" type="data" format="pileup" label="Select a suitable input BLAST FILTERED PART3 file from your history"/> +<param name="input_blast_filtered_part4_file" type="data" format="pileup" label="Select a suitable input BLAST FILTERED PART4 file from your history"/> + +<param name="input_snp_selected_file" type="data" format="pileup" label="Select a suitable input SNP SELECTED file from your history"/> +</inputs> +<outputs> + <data name="output_file" format="txt" label="STATS"/> +</outputs> + + +<help> + +</help> +</tool>