Mercurial > repos > mcharles > rapsodyn
changeset 13:f487491e1091 draft
Uploaded
author | mcharles |
---|---|
date | Wed, 20 Aug 2014 12:11:09 -0400 |
parents | 658acc3202dc |
children | defaa466825f |
files | rapsodyn/Galaxy-Workflow-Rapsodyn_v1.4.ga rapsodyn/Galaxy-Workflow-Rapsodyn_v1.42.ga rapsodyn/filtersam_mapped_and_unique.pl rapsodyn/filtersam_mapped_and_unique.xml rapsodyn/filtersamunique.pl rapsodyn/filtersamunique.xml rapsodyn/rapsodyn_stats.pl rapsodyn/rapsodyn_stats.xml rapsodyn/sickle.xml rapsodyn/tempo2.pl rapsodyn/tempo2.xml rapsodyn/test.pl rapsodyn/test.xml |
diffstat | 13 files changed, 1271 insertions(+), 939 deletions(-) [+] |
line wrap: on
line diff
--- a/rapsodyn/Galaxy-Workflow-Rapsodyn_v1.4.ga Tue Aug 19 13:00:53 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,681 +0,0 @@ -{ - "a_galaxy_workflow": "true", - "annotation": "", - "format-version": "0.1", - "name": "Rapsodyn v1.4", - "steps": { - "0": { - "annotation": "", - "id": 0, - "input_connections": {}, - "inputs": [ - { - "description": "", - "name": "READ1" - } - ], - "name": "Input dataset", - "outputs": [], - "position": { - "left": 200, - "top": 550.5 - }, - "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": 200, - "top": 635.5 - }, - "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": 200, - "top": 720.5 - }, - "tool_errors": null, - "tool_id": null, - "tool_state": "{\"name\": \"ASSEMBLY\"}", - "tool_version": null, - "type": "data_input", - "user_outputs": [] - }, - "3": { - "annotation": "", - "id": 3, - "input_connections": {}, - "inputs": [ - { - "description": "", - "name": "DUBIOUS POSITION" - } - ], - "name": "Input dataset", - "outputs": [], - "position": { - "left": 207, - "top": 811.5 - }, - "tool_errors": null, - "tool_id": null, - "tool_state": "{\"name\": \"DUBIOUS POSITION\"}", - "tool_version": null, - "type": "data_input", - "user_outputs": [] - }, - "4": { - "annotation": "", - "id": 4, - "input_connections": { - "input_file": { - "id": 0, - "output_name": "output" - } - }, - "inputs": [], - "name": "FASTQ Groomer", - "outputs": [ - { - "name": "output_file", - "type": "fastqsanger" - } - ], - "position": { - "left": 428, - "top": 550.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/fastq_groomer/fastq_groomer/1.0.4", - "tool_state": "{\"__page__\": 0, \"input_file\": \"null\", \"input_type\": \"\\\"illumina\\\"\", \"__rerun_remap_job_id__\": null, \"options_type\": \"{\\\"options_type_selector\\\": \\\"basic\\\", \\\"__current_case__\\\": 0}\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.0.4", - "type": "tool", - "user_outputs": [] - }, - "5": { - "annotation": "", - "id": 5, - "input_connections": { - "input_file": { - "id": 1, - "output_name": "output" - } - }, - "inputs": [], - "name": "FASTQ Groomer", - "outputs": [ - { - "name": "output_file", - "type": "fastqsanger" - } - ], - "position": { - "left": 428, - "top": 681.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/fastq_groomer/fastq_groomer/1.0.4", - "tool_state": "{\"__page__\": 0, \"input_file\": \"null\", \"input_type\": \"\\\"illumina\\\"\", \"__rerun_remap_job_id__\": null, \"options_type\": \"{\\\"options_type_selector\\\": \\\"basic\\\", \\\"__current_case__\\\": 0}\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.0.4", - "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": 428, - "top": 812.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "fastaGroomerForMakeBlastdb", - "tool_state": "{\"input_fasta\": \"null\", \"__rerun_remap_job_id__\": null, \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "7": { - "annotation": "", - "id": 7, - "input_connections": { - "readtype|input_paired1": { - "id": 4, - "output_name": "output_file" - }, - "readtype|input_paired2": { - "id": 5, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "Sickle", - "outputs": [ - { - "name": "output_single", - "type": "input" - }, - { - "name": "output_paired1", - "type": "fastq" - }, - { - "name": "output_paired2", - "type": "fastq" - }, - { - "name": "output_paired_single", - "type": "fastq" - } - ], - "position": { - "left": 762, - "top": 391.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "testtoolshed.g2.bx.psu.edu/repos/jjohnson/sickle/sickle/1.0.0", - "tool_state": "{\"__page__\": 0, \"length_threshold\": \"\\\"30\\\"\", \"no_five_prime\": \"\\\"False\\\"\", \"discard_n\": \"\\\"False\\\"\", \"__rerun_remap_job_id__\": null, \"readtype\": \"{\\\"single_or_paired\\\": \\\"pe\\\", \\\"input_paired1\\\": null, \\\"input_paired2\\\": null, \\\"__current_case__\\\": 1}\", \"qual_threshold\": \"\\\"30\\\"\"}", - "tool_version": "1.0.0", - "type": "tool", - "user_outputs": [] - }, - "8": { - "annotation": "", - "id": 8, - "input_connections": { - "input_file": { - "id": 6, - "output_name": "output_fasta" - } - }, - "inputs": [], - "name": "NCBI BLAST+ makeblastdb", - "outputs": [ - { - "name": "outfile", - "type": "data" - } - ], - "position": { - "left": 756, - "top": 878.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\": \"\\\"\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"parse_seqids\": \"\\\"False\\\"\"}", - "tool_version": "0.1.00", - "type": "tool", - "user_outputs": [] - }, - "9": { - "annotation": "", - "id": 9, - "input_connections": { - "readtype|input_paired1": { - "id": 7, - "output_name": "output_paired1" - }, - "readtype|input_paired2": { - "id": 7, - "output_name": "output_paired2" - } - }, - "inputs": [], - "name": "Sickle", - "outputs": [ - { - "name": "output_single", - "type": "input" - }, - { - "name": "output_paired1", - "type": "fastq" - }, - { - "name": "output_paired2", - "type": "fastq" - }, - { - "name": "output_paired_single", - "type": "fastq" - } - ], - "position": { - "left": 1080, - "top": 346.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "testtoolshed.g2.bx.psu.edu/repos/jjohnson/sickle/sickle/1.0.0", - "tool_state": "{\"__page__\": 0, \"length_threshold\": \"\\\"30\\\"\", \"no_five_prime\": \"\\\"False\\\"\", \"discard_n\": \"\\\"True\\\"\", \"__rerun_remap_job_id__\": null, \"readtype\": \"{\\\"single_or_paired\\\": \\\"pe\\\", \\\"input_paired1\\\": null, \\\"input_paired2\\\": null, \\\"__current_case__\\\": 1}\", \"qual_threshold\": \"\\\"30\\\"\"}", - "tool_version": "1.0.0", - "type": "tool", - "user_outputs": [] - }, - "10": { - "annotation": "", - "id": 10, - "input_connections": { - "input_assembly_file": { - "id": 2, - "output_name": "output" - }, - "input_read1_file": { - "id": 9, - "output_name": "output_paired1" - }, - "input_read2_file": { - "id": 9, - "output_name": "output_paired2" - } - }, - "inputs": [], - "name": "test", - "outputs": [ - { - "name": "output_read1_file", - "type": "fastqsanger" - }, - { - "name": "output_read2_file", - "type": "fastqsanger" - }, - { - "name": "output_assembly_file", - "type": "fasta" - }, - { - "name": "output_stat_file", - "type": "txt" - } - ], - "position": { - "left": 1418, - "top": 200 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "test", - "tool_state": "{\"__page__\": 0, \"input_read1_file\": \"null\", \"__rerun_remap_job_id__\": null, \"input_read2_file\": \"null\", \"input_assembly_file\": \"null\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "11": { - "annotation": "", - "id": 11, - "input_connections": { - "genomeSource|ownFile": { - "id": 10, - "output_name": "output_assembly_file" - }, - "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": 1749, - "top": 237.5 - }, - "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-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.2.3", - "type": "tool", - "user_outputs": [] - }, - "12": { - "annotation": "", - "id": 12, - "input_connections": { - "input1": { - "id": 11, - "output_name": "output" - } - }, - "inputs": [], - "name": "Filter SAM or BAM", - "outputs": [ - { - "name": "output1", - "type": "sam" - } - ], - "position": { - "left": 1672, - "top": 485.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "toolshed.g2.bx.psu.edu/repos/jjohnson/samtools_filter/samtools_filter/1.1.1", - "tool_state": "{\"__page__\": 0, \"bed_file\": \"null\", \"input1\": \"null\", \"__rerun_remap_job_id__\": null, \"read_group\": \"\\\"\\\"\", \"library\": \"\\\"\\\"\", \"regions\": \"\\\"\\\"\", \"header\": \"\\\"-h\\\"\", \"flag\": \"{\\\"filter\\\": \\\"yes\\\", \\\"skipBits\\\": null, \\\"__current_case__\\\": 1, \\\"reqBits\\\": \\\"0x0002\\\"}\", \"mapq\": \"\\\"\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "1.1.1", - "type": "tool", - "user_outputs": [] - }, - "13": { - "annotation": "", - "id": 13, - "input_connections": { - "input_sam_file": { - "id": 12, - "output_name": "output1" - } - }, - "inputs": [], - "name": "filtersamunique", - "outputs": [ - { - "name": "output_file", - "type": "sam" - } - ], - "position": { - "left": 1990, - "top": 495.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "filtersamunique", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"chromInfo\": \"\\\"/home/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": 13, - "output_name": "output_file" - }, - "source|ref_file": { - "id": 2, - "output_name": "output" - } - }, - "inputs": [], - "name": "SAM-to-BAM", - "outputs": [ - { - "name": "output1", - "type": "bam" - } - ], - "position": { - "left": 2332, - "top": 550.5 - }, - "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-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", - "tool_version": "1.1.4", - "type": "tool", - "user_outputs": [] - }, - "15": { - "annotation": "", - "id": 15, - "input_connections": { - "reference_source|input_bams_0|input_bam": { - "id": 14, - "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": 2560, - "top": 550.5 - }, - "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-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "0.0.3", - "type": "tool", - "user_outputs": [] - }, - "16": { - "annotation": "", - "id": 16, - "input_connections": { - "input_file": { - "id": 15, - "output_name": "output_mpileup" - } - }, - "inputs": [], - "name": "mpileupfilter", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 2886, - "top": 550.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "mpileupfilter", - "tool_state": "{\"__page__\": 0, \"input_file\": \"null\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"min_frequency\": \"\\\"0.8\\\"\", \"min_depth\": \"\\\"2\\\"\", \"__rerun_remap_job_id__\": null, \"min_forward_and_reverse\": \"\\\"0\\\"\", \"max_depth\": \"\\\"50\\\"\", \"min_distance\": \"\\\"0\\\"\"}", - "tool_version": "0.05", - "type": "tool", - "user_outputs": [] - }, - "17": { - "annotation": "", - "id": 17, - "input_connections": { - "input_listA": { - "id": 16, - "output_name": "output_file" - }, - "input_listB": { - "id": 3, - "output_name": "output" - } - }, - "inputs": [], - "name": "listfiltering", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 3214, - "top": 550.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "listfiltering", - "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"nb_col\": \"\\\"2\\\"\", \"input_listB\": \"null\", \"input_listA\": \"null\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "0.01", - "type": "tool", - "user_outputs": [] - }, - "18": { - "annotation": "", - "id": 18, - "input_connections": { - "input_assembly_file": { - "id": 2, - "output_name": "output" - }, - "input_variant_file": { - "id": 17, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "extractseq", - "outputs": [ - { - "name": "output_file", - "type": "fasta" - } - ], - "position": { - "left": 3542, - "top": 550.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "extractseq", - "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"input_assembly_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "0.03", - "type": "tool", - "user_outputs": [] - }, - "19": { - "annotation": "", - "id": 19, - "input_connections": { - "db_opts|histdb": { - "id": 8, - "output_name": "outfile" - }, - "query": { - "id": 18, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "NCBI BLAST+ blastn", - "outputs": [ - { - "name": "output1", - "type": "tabular" - } - ], - "position": { - "left": 3870, - "top": 550.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\\\": \\\"0\\\"}\", \"__rerun_remap_job_id__\": null, \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"query\": \"null\", \"blast_type\": \"\\\"megablast\\\"\", \"output\": \"{\\\"out_format\\\": \\\"5\\\", \\\"__current_case__\\\": 3}\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "0.1.00", - "type": "tool", - "user_outputs": [] - }, - "20": { - "annotation": "", - "id": 20, - "input_connections": { - "input_blastxml_file": { - "id": 19, - "output_name": "output1" - }, - "input_variant_file": { - "id": 17, - "output_name": "output_file" - } - }, - "inputs": [], - "name": "mpileupfilteronblastxml", - "outputs": [ - { - "name": "output_file", - "type": "pileup" - } - ], - "position": { - "left": 4172, - "top": 550.5 - }, - "post_job_actions": {}, - "tool_errors": null, - "tool_id": "mpileupfilteronblastxml", - "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"input_blastxml_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", - "tool_version": "0.03", - "type": "tool", - "user_outputs": [] - } - } -} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/Galaxy-Workflow-Rapsodyn_v1.42.ga Wed Aug 20 12:11:09 2014 -0400 @@ -0,0 +1,831 @@ +{ + "a_galaxy_workflow": "true", + "annotation": "", + "format-version": "0.1", + "name": "Rapsodyn v1.42", + "steps": { + "0": { + "annotation": "", + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "READ1" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 199.99998474121094, + "top": 404 + }, + "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": 199.99998474121094, + "top": 489 + }, + "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": 199.99998474121094, + "top": 574 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"ASSEMBLY\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "3": { + "annotation": "", + "id": 3, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "DUBIOUS POSITION" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 203.99998474121094, + "top": 663.0000305175781 + }, + "tool_errors": null, + "tool_id": null, + "tool_state": "{\"name\": \"DUBIOUS POSITION\"}", + "tool_version": null, + "type": "data_input", + "user_outputs": [] + }, + "4": { + "annotation": "", + "id": 4, + "input_connections": { + "input_file": { + "id": 0, + "output_name": "output" + } + }, + "inputs": [], + "name": "FASTQ Groomer", + "outputs": [ + { + "name": "output_file", + "type": "fastqsanger" + } + ], + "position": { + "left": 427.99998474121094, + "top": 404 + }, + "post_job_actions": { + "HideDatasetActionoutput_file": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_file" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/fastq_groomer/fastq_groomer/1.0.4", + "tool_state": "{\"__page__\": 0, \"input_file\": \"null\", \"input_type\": \"\\\"illumina\\\"\", \"__rerun_remap_job_id__\": null, \"options_type\": \"{\\\"options_type_selector\\\": \\\"basic\\\", \\\"__current_case__\\\": 0}\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", + "tool_version": "1.0.4", + "type": "tool", + "user_outputs": [] + }, + "5": { + "annotation": "", + "id": 5, + "input_connections": { + "input_file": { + "id": 1, + "output_name": "output" + } + }, + "inputs": [], + "name": "FASTQ Groomer", + "outputs": [ + { + "name": "output_file", + "type": "fastqsanger" + } + ], + "position": { + "left": 427.99998474121094, + "top": 535 + }, + "post_job_actions": { + "HideDatasetActionoutput_file": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_file" + } + }, + "tool_errors": null, + "tool_id": "toolshed.g2.bx.psu.edu/repos/devteam/fastq_groomer/fastq_groomer/1.0.4", + "tool_state": "{\"__page__\": 0, \"input_file\": \"null\", \"input_type\": \"\\\"illumina\\\"\", \"__rerun_remap_job_id__\": null, \"options_type\": \"{\\\"options_type_selector\\\": \\\"basic\\\", \\\"__current_case__\\\": 0}\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", + "tool_version": "1.0.4", + "type": "tool", + "user_outputs": [] + }, + "6": { + "annotation": "", + "id": 6, + "input_connections": { + "readtype|input_paired1": { + "id": 4, + "output_name": "output_file" + }, + "readtype|input_paired2": { + "id": 5, + "output_name": "output_file" + } + }, + "inputs": [], + "name": "Sickle", + "outputs": [ + { + "name": "output_single", + "type": "input" + }, + { + "name": "output_paired1", + "type": "fastq" + }, + { + "name": "output_paired2", + "type": "fastq" + }, + { + "name": "output_paired_single", + "type": "fastq" + } + ], + "position": { + "left": 762, + "top": 245 + }, + "post_job_actions": { + "HideDatasetActionoutput_paired1": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_paired1" + }, + "HideDatasetActionoutput_paired2": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_paired2" + }, + "HideDatasetActionoutput_paired_single": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_paired_single" + }, + "HideDatasetActionoutput_single": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_single" + } + }, + "tool_errors": null, + "tool_id": "testtoolshed.g2.bx.psu.edu/repos/jjohnson/sickle/sickle/1.0.0", + "tool_state": "{\"__page__\": 0, \"length_threshold\": \"\\\"30\\\"\", \"no_five_prime\": \"\\\"False\\\"\", \"discard_n\": \"\\\"False\\\"\", \"__rerun_remap_job_id__\": null, \"readtype\": \"{\\\"single_or_paired\\\": \\\"pe\\\", \\\"input_paired1\\\": null, \\\"input_paired2\\\": null, \\\"__current_case__\\\": 1}\", \"qual_threshold\": \"\\\"30\\\"\"}", + "tool_version": "1.0.0", + "type": "tool", + "user_outputs": [] + }, + "7": { + "annotation": "", + "id": 7, + "input_connections": { + "readtype|input_paired1": { + "id": 6, + "output_name": "output_paired1" + }, + "readtype|input_paired2": { + "id": 6, + "output_name": "output_paired2" + } + }, + "inputs": [], + "name": "Sickle", + "outputs": [ + { + "name": "output_single", + "type": "input" + }, + { + "name": "output_paired1", + "type": "fastq" + }, + { + "name": "output_paired2", + "type": "fastq" + }, + { + "name": "output_paired_single", + "type": "fastq" + } + ], + "position": { + "left": 1080, + "top": 200 + }, + "post_job_actions": { + "HideDatasetActionoutput_paired1": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_paired1" + }, + "HideDatasetActionoutput_paired2": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_paired2" + }, + "HideDatasetActionoutput_paired_single": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_paired_single" + }, + "HideDatasetActionoutput_single": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_single" + } + }, + "tool_errors": null, + "tool_id": "testtoolshed.g2.bx.psu.edu/repos/jjohnson/sickle/sickle/1.0.0", + "tool_state": "{\"__page__\": 0, \"length_threshold\": \"\\\"30\\\"\", \"no_five_prime\": \"\\\"False\\\"\", \"discard_n\": \"\\\"True\\\"\", \"__rerun_remap_job_id__\": null, \"readtype\": \"{\\\"single_or_paired\\\": \\\"pe\\\", \\\"input_paired1\\\": null, \\\"input_paired2\\\": null, \\\"__current_case__\\\": 1}\", \"qual_threshold\": \"\\\"30\\\"\"}", + "tool_version": "1.0.0", + "type": "tool", + "user_outputs": [] + }, + "8": { + "annotation": "", + "id": 8, + "input_connections": { + "genomeSource|ownFile": { + "id": 2, + "output_name": "output" + }, + "paired|input1": { + "id": 7, + "output_name": "output_paired1" + }, + "paired|input2": { + "id": 7, + "output_name": "output_paired2" + } + }, + "inputs": [], + "name": "Map with BWA for Illumina", + "outputs": [ + { + "name": "output", + "type": "sam" + } + ], + "position": { + "left": 1412, + "top": 404 + }, + "post_job_actions": { + "HideDatasetActionoutput": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output" + } + }, + "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-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", + "tool_version": "1.2.3", + "type": "tool", + "user_outputs": [] + }, + "9": { + "annotation": "", + "id": 9, + "input_connections": { + "input_sam_file": { + "id": 8, + "output_name": "output" + } + }, + "inputs": [], + "name": "filtersam_mapped_and_unique", + "outputs": [ + { + "name": "output_file", + "type": "sam" + } + ], + "position": { + "left": 1773, + "top": 339.5 + }, + "post_job_actions": { + "HideDatasetActionoutput_file": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_file" + } + }, + "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": [] + }, + "10": { + "annotation": "", + "id": 10, + "input_connections": { + "source|input1": { + "id": 9, + "output_name": "output_file" + }, + "source|ref_file": { + "id": 2, + "output_name": "output" + } + }, + "inputs": [], + "name": "SAM-to-BAM", + "outputs": [ + { + "name": "output1", + "type": "bam" + } + ], + "position": { + "left": 2332, + "top": 404 + }, + "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-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", + "tool_version": "1.1.4", + "type": "tool", + "user_outputs": [] + }, + "11": { + "annotation": "", + "id": 11, + "input_connections": { + "reference_source|input_bams_0|input_bam": { + "id": 10, + "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": 2559.9998779296875, + "top": 404 + }, + "post_job_actions": { + "HideDatasetActionoutput_log": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_log" + }, + "HideDatasetActionoutput_mpileup": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_mpileup" + } + }, + "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-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", + "tool_version": "0.0.3", + "type": "tool", + "user_outputs": [] + }, + "12": { + "annotation": "", + "id": 12, + "input_connections": { + "input_file": { + "id": 11, + "output_name": "output_mpileup" + } + }, + "inputs": [], + "name": "mpileupfilter", + "outputs": [ + { + "name": "output_file", + "type": "pileup" + } + ], + "position": { + "left": 2885.9998779296875, + "top": 404 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "mpileupfilter", + "tool_state": "{\"__page__\": 0, \"input_file\": \"null\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"min_frequency\": \"\\\"0.8\\\"\", \"min_depth\": \"\\\"2\\\"\", \"__rerun_remap_job_id__\": null, \"min_forward_and_reverse\": \"\\\"0\\\"\", \"max_depth\": \"\\\"50\\\"\", \"min_distance\": \"\\\"0\\\"\"}", + "tool_version": "0.05", + "type": "tool", + "user_outputs": [] + }, + "13": { + "annotation": "", + "id": 13, + "input_connections": { + "input_listA": { + "id": 12, + "output_name": "output_file" + }, + "input_listB": { + "id": 3, + "output_name": "output" + } + }, + "inputs": [], + "name": "listfiltering", + "outputs": [ + { + "name": "output_file", + "type": "pileup" + } + ], + "position": { + "left": 3213.9998779296875, + "top": 404 + }, + "post_job_actions": { + "HideDatasetActionoutput_file": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_file" + } + }, + "tool_errors": null, + "tool_id": "listfiltering", + "tool_state": "{\"__page__\": 0, \"__rerun_remap_job_id__\": null, \"nb_col\": \"\\\"2\\\"\", \"input_listB\": \"null\", \"input_listA\": \"null\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", + "tool_version": "0.01", + "type": "tool", + "user_outputs": [] + }, + "14": { + "annotation": "", + "id": 14, + "input_connections": { + "input1": { + "id": 13, + "output_name": "output_file" + }, + "input2": { + "id": 2, + "output_name": "output" + } + }, + "inputs": [], + "name": "tempo2", + "outputs": [ + { + "name": "output1", + "type": "txt" + }, + { + "name": "output2", + "type": "txt" + } + ], + "position": { + "left": 3491.9998779296875, + "top": 622.5000305175781 + }, + "post_job_actions": { + "HideDatasetActionoutput1": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output1" + }, + "HideDatasetActionoutput2": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output2" + } + }, + "tool_errors": null, + "tool_id": "tempo2", + "tool_state": "{\"input2\": \"null\", \"__page__\": 0, \"input1\": \"null\", \"__rerun_remap_job_id__\": null, \"out1_format\": \"\\\"pileup\\\"\", \"out2_format\": \"\\\"fasta\\\"\"}", + "tool_version": "0.01", + "type": "tool", + "user_outputs": [] + }, + "15": { + "annotation": "", + "id": 15, + "input_connections": { + "input_assembly_file": { + "id": 2, + "output_name": "output" + }, + "input_variant_file": { + "id": 14, + "output_name": "output1" + } + }, + "inputs": [], + "name": "extractseq", + "outputs": [ + { + "name": "output_file", + "type": "fasta" + } + ], + "position": { + "left": 3792.9998779296875, + "top": 510 + }, + "post_job_actions": { + "HideDatasetActionoutput_file": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_file" + } + }, + "tool_errors": null, + "tool_id": "extractseq", + "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"input_assembly_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", + "tool_version": "0.03", + "type": "tool", + "user_outputs": [] + }, + "16": { + "annotation": "", + "id": 16, + "input_connections": { + "input_fasta": { + "id": 14, + "output_name": "output2" + } + }, + "inputs": [], + "name": "fastaGroomerForMakeBlastdb", + "outputs": [ + { + "name": "output_fasta", + "type": "fasta" + } + ], + "position": { + "left": 3740.9998779296875, + "top": 910.0000305175781 + }, + "post_job_actions": { + "HideDatasetActionoutput_fasta": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output_fasta" + } + }, + "tool_errors": null, + "tool_id": "fastaGroomerForMakeBlastdb", + "tool_state": "{\"input_fasta\": \"null\", \"__rerun_remap_job_id__\": null, \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"__page__\": 0}", + "tool_version": "0.01", + "type": "tool", + "user_outputs": [] + }, + "17": { + "annotation": "", + "id": 17, + "input_connections": { + "input_file": { + "id": 16, + "output_name": "output_fasta" + } + }, + "inputs": [], + "name": "NCBI BLAST+ makeblastdb", + "outputs": [ + { + "name": "outfile", + "type": "data" + } + ], + "position": { + "left": 4046.9998779296875, + "top": 935.0000305175781 + }, + "post_job_actions": { + "HideDatasetActionoutfile": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "outfile" + } + }, + "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\": \"\\\"\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\", \"parse_seqids\": \"\\\"False\\\"\"}", + "tool_version": "0.1.00", + "type": "tool", + "user_outputs": [] + }, + "18": { + "annotation": "", + "id": 18, + "input_connections": { + "db_opts|histdb": { + "id": 17, + "output_name": "outfile" + }, + "query": { + "id": 15, + "output_name": "output_file" + } + }, + "inputs": [], + "name": "NCBI BLAST+ blastn", + "outputs": [ + { + "name": "output1", + "type": "tabular" + } + ], + "position": { + "left": 4276.9998779296875, + "top": 702.0000305175781 + }, + "post_job_actions": { + "HideDatasetActionoutput1": { + "action_arguments": {}, + "action_type": "HideDatasetAction", + "output_name": "output1" + } + }, + "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, \"db_opts\": \"{\\\"db_opts_selector\\\": \\\"histdb\\\", \\\"subject\\\": \\\"\\\", \\\"histdb\\\": null, \\\"__current_case__\\\": 1, \\\"database\\\": \\\"\\\"}\", \"query\": \"null\", \"blast_type\": \"\\\"megablast\\\"\", \"output\": \"{\\\"out_format\\\": \\\"5\\\", \\\"__current_case__\\\": 3}\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", + "tool_version": "0.1.00", + "type": "tool", + "user_outputs": [] + }, + "19": { + "annotation": "", + "id": 19, + "input_connections": { + "input_blastxml_file": { + "id": 18, + "output_name": "output1" + }, + "input_variant_file": { + "id": 14, + "output_name": "output1" + } + }, + "inputs": [], + "name": "mpileupfilteronblastxml", + "outputs": [ + { + "name": "output_file", + "type": "pileup" + } + ], + "position": { + "left": 4533.9998779296875, + "top": 479 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "mpileupfilteronblastxml", + "tool_state": "{\"__page__\": 0, \"input_variant_file\": \"null\", \"__rerun_remap_job_id__\": null, \"input_blastxml_file\": \"null\", \"window_length\": \"\\\"50\\\"\", \"nb_mismatch_max\": \"\\\"3\\\"\", \"chromInfo\": \"\\\"/home/galaxy/galaxy-dist/tool-data/shared/ucsc/chrom/?.len\\\"\"}", + "tool_version": "0.03", + "type": "tool", + "user_outputs": [] + }, + "20": { + "annotation": "", + "id": 20, + "input_connections": { + "input_blast_filtered_file": { + "id": 19, + "output_name": "output_file" + }, + "input_list_filtered_file": { + "id": 13, + "output_name": "output_file" + }, + "input_mpileup_filtered_file": { + "id": 12, + "output_name": "output_file" + }, + "input_mpileup_row_file": { + "id": 11, + "output_name": "output_mpileup" + }, + "input_read1_row_file": { + "id": 0, + "output_name": "output" + }, + "input_read1_trimmed_file": { + "id": 6, + "output_name": "output_paired1" + }, + "input_read1_trimmednoN_file": { + "id": 7, + "output_name": "output_paired1" + }, + "input_read2_row_file": { + "id": 1, + "output_name": "output" + }, + "input_read2_trimmed_file": { + "id": 6, + "output_name": "output_paired2" + }, + "input_read2_trimmednoN_file": { + "id": 7, + "output_name": "output_paired2" + }, + "input_sam_filtered_file": { + "id": 9, + "output_name": "output_file" + }, + "input_sam_row_file": { + "id": 8, + "output_name": "output" + } + }, + "inputs": [], + "name": "rapsodyn_stats", + "outputs": [ + { + "name": "output_file", + "type": "txt" + } + ], + "position": { + "left": 4964.0001220703125, + "top": 427.5 + }, + "post_job_actions": {}, + "tool_errors": null, + "tool_id": "rapsodyn_stats", + "tool_state": "{\"input_read1_trimmed_file\": \"null\", \"input_read2_trimmednoN_file\": \"null\", \"input_read2_row_file\": \"null\", \"input_read2_trimmed_file\": \"null\", \"__page__\": 0, \"input_sam_row_file\": \"null\", \"__rerun_remap_job_id__\": null, \"input_mpileup_filtered_file\": \"null\", \"input_read1_trimmednoN_file\": \"null\", \"input_assembly_file\": \"null\", \"input_sam_filtered_file\": \"null\", \"input_read1_row_file\": \"null\", \"input_mpileup_row_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/filtersam_mapped_and_unique.pl Wed Aug 20 12:11:09 2014 -0400 @@ -0,0 +1,23 @@ +#!/usr/bin/perl +use strict; +use warnings; + +open(IN, $ARGV[0]) or die ("Can't open $ARGV[0]\n"); +while (my $line=<IN>){ + if ($line =~ /^\@/){ + #Header conservation + print $line; + } + else { + #Optionnal flag verification + if (($line =~ /XT\:A\:U/)&&($line =~ /X0\:i\:1/)&&($line =~ /X1\:i\:0\s/)){ + my @fields = split (/\s+/,$line); + if (($fields[1]==83)||($fields[1]==163)||($fields[1]==147)||($fields[1]==99)){ + print $line; + } + } + } +} + + +close (IN); \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/filtersam_mapped_and_unique.xml Wed Aug 20 12:11:09 2014 -0400 @@ -0,0 +1,18 @@ +<tool id="filtersam_mapped_and_unique" name="filtersam_mapped_and_unique" version="0.01"> +<description>Filter SAM file for uniq and well mapped pair-end reads</description> +<command interpreter="perl"> + filtersam_mapped_and_unique.pl $input_sam_file > $output_file +</command> +<inputs> +<param name="input_sam_file" type="data" format="sam" label="Select a suitable input SAM file from your history"/> +</inputs> +<outputs> + <data name="output_file" format="sam" label="${tool.name} on ${on_string}"/> +</outputs> + +<help> + + + +</help> +</tool>
--- a/rapsodyn/filtersamunique.pl Tue Aug 19 13:00:53 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -#!/usr/bin/perl -use strict; -use warnings; - -open(IN, $ARGV[0]) or die ("Can't open $ARGV[0]\n"); -while (my $line=<IN>){ - if ($line =~ /^\@/){ - #Header conservation - print $line; - } - else { - #Optionnal flag verification - if (($line =~ /XT\:A\:U/)&&($line =~ /X0\:i\:1/)&&($line =~ /X1\:i\:0\s/)){ - print $line; - } - } -} - - -close (IN); \ No newline at end of file
--- a/rapsodyn/filtersamunique.xml Tue Aug 19 13:00:53 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -<tool id="filtersamunique" name="filtersamunique" version="0.01"> -<description>Filter SAM file for uniquelly match reads</description> -<command interpreter="perl"> - filtersamunique.pl $input_sam_file > $output_file -</command> -<inputs> -<param name="input_sam_file" type="data" format="sam" label="Select a suitable input SAM file from your history"/> -</inputs> -<outputs> - <data name="output_file" format="sam" label="${tool.name} on ${on_string}"/> -</outputs> - -<help> - - - -</help> -</tool>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/rapsodyn_stats.pl Wed Aug 20 12:11:09 2014 -0400 @@ -0,0 +1,277 @@ +#!/usr/bin/perl +use strict; +use warnings; + +my $read1_row = $ARGV[0]; +my $read2_row = $ARGV[1]; + +my $read1_trimmed = $ARGV[2]; +my $read2_trimmed = $ARGV[3]; + +my $read1_trimmed_noN = $ARGV[4]; +my $read2_trimmed_noN = $ARGV[5]; + +my $sam_row = $ARGV[6]; + +my $sam_filtered = $ARGV[7]; + +my $mpileup_row = $ARGV[8]; + +my $mpileup_filtered = $ARGV[9]; + +my $list_filtered = $ARGV[10]; + +my $blast_filtered = $ARGV[11]; + + + + +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(INR1T, $read1_trimmed) or die ("Can't open $read1_trimmed\n"); +$nbread=0; +$nbbase =0; +while (my $line1=<INR1T>){ + my $line2 = <INR1T>; + my $line3 = <INR1T>; + my $line4 = <INR1T>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +print "Trimmed Reads 1\t\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; +close (INR1T); + +open(INR2T, $read2_trimmed) or die ("Can't open $read2_trimmed\n"); +$nbread=0; +$nbbase =0; +while (my $line1=<INR2T>){ + my $line2 = <INR2T>; + my $line3 = <INR2T>; + my $line4 = <INR2T>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +print "Trimmed Reads 2\t\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; +close (INR2T); + +open(INR1N, $read1_trimmed_noN) or die ("Can't open $read1_trimmed_noN\n"); +$nbread=0; +$nbbase =0; +while (my $line1=<INR1N>){ + my $line2 = <INR1N>; + my $line3 = <INR1N>; + my $line4 = <INR1N>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +print "Trimmed (no N) Reads 1\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; +close (INR1N); + +open(INR2N, $read2_trimmed_noN) or die ("Can't open $read2_trimmed_noN\n"); +$nbread=0; +$nbbase =0; +while (my $line1=<INR2N>){ + my $line2 = <INR2N>; + my $line3 = <INR2N>; + my $line4 = <INR2N>; + if ($line1 =~ /^@/){ + $nbread++; + if ($line2=~/([ATGCNX]+)/i){ + $nbbase += length($1); + } + else { + print STDERR "$line1\n$line2\n"; + } + } +} +print "Trimmed (no N) Reads 2\tNumber of reads : ",$nbread,"\tnumber of bases : ",$nbbase,"\n"; +close (INR2N); + +print "\nSAM row\n"; +open(SAM, $sam_row) or die ("Can't open $sam_row\n"); +my %bitscore; +while (my $line=<SAM>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} + +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"; +close (SAM); + +print "\nSAM filtered\n"; +open(SAMF, $sam_filtered) or die ("Can't open $sam_filtered\n"); +undef %bitscore; +while (my $line=<SAMF>){ + if (($line !~ /^\@SQ/)&&($line !~ /^\@PG/)){ + my @fields = split(/\s+/,$line); + my $bit = $fields[1]; + if ($bitscore{$bit}){ + $bitscore{$bit}++; + } + else { + $bitscore{$bit}=1; + } + } +} + +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"; +close (SAMF); + +print "\nMPILEUP row\n"; +open(MPR, $mpileup_row) or die ("Can't open $mpileup_row\n"); +my $basecovered=0; +my $nbvariant=0; +while (my $line=<MPR>){ + my @fields = split(/\s+/,$line); + if ($#fields >= 4){ + $basecovered++; + 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 "Base covered :\t$basecovered\n"; +print "Variant detected :\t$nbvariant\n"; +close (MPR); + +print "\nMPILEUP filered\n"; +open(MPF, $mpileup_filtered) or die ("Can't open $mpileup_filtered\n"); + +$basecovered=0; +$nbvariant=0; +while (my $line=<MPF>){ + my @fields = split(/\s+/,$line); + if ($#fields >= 4){ + $basecovered++; + 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 selected :\t$nbvariant\n"; +close (MPF); + +print "\nMPILEUP filered 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 filered without dubious position and BLAST\n"; +open(BF, $blast_filtered) or die ("Can't open $blast_filtered\n"); +$nbvariant=0; +while (my $line=<BF>){ + $nbvariant++; +} + +print "Variant selected :\t$nbvariant\n"; +close (BF); + + + + + + + + + +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/rapsodyn_stats.xml Wed Aug 20 12:11:09 2014 -0400 @@ -0,0 +1,28 @@ +<tool id="rapsodyn_stats" name="rapsodyn_stats" version="0.01"> +<description>Merge best results from Blast</description> +<command interpreter="perl"> + rapsodyn_stats.pl $input_read1_row_file $input_read2_row_file $input_read1_trimmed_file $input_read2_trimmed_file $input_read1_trimmednoN_file $input_read2_trimmednoN_file $input_sam_row_file $input_sam_filtered_file $input_mpileup_row_file $input_mpileup_filtered_file $input_list_filtered_file $input_blast_filtered_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_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ1 TRIMMED file from your history"/> +<param name="input_read2_trimmed_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ2 TRIMMED file from your history"/> +<param name="input_read1_trimmednoN_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ1 TRIMMED noN file from your history"/> +<param name="input_read2_trimmednoN_file" type="data" format="fastq,fastqsanger,fastqsolexa,fastqillumina" label="Select a suitable input READ2 TRIMMED noN file from your history"/> +<param name="input_sam_row_file" type="data" format="sam" label="Select a suitable input SAM file from your history"/> +<param name="input_sam_filtered_file" type="data" format="sam" label="Select a suitable input SAM FILTERED file from your history"/> +<param name="input_mpileup_row_file" type="data" format="pileup" label="Select a suitable input MPILEUP file from your history"/> +<param name="input_mpileup_filtered_file" type="data" format="pileup" label="Select a suitable input MPILEUP FILTERED 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_file" type="data" format="pileup" label="Select a suitable input BLAST FILTERED file from your history"/> +</inputs> +<outputs> + <data name="output_file" format="txt" label="STATS"/> +</outputs> + + +<help> + +</help> +</tool>
--- a/rapsodyn/sickle.xml Tue Aug 19 13:00:53 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,144 +0,0 @@ -<tool id="sickle" name="Sickle"> - <description>Windowed Adaptive Trimming of FastQ data</description> - <requirements> - <requirement version="1.210">sickle</requirement> - </requirements> - <command> - sickle $readtype.single_or_paired --quiet - - #if str($readtype.single_or_paired) == "se": - -f $input_single -o $output_single - - #if $input_single.ext == "fastq": - -t sanger - #else if $input_single.ext == "fastqsanger": - -t sanger - #else if $input_single.ext == "fastqillumina": - -t illumina - #else if $input_single.ext == "fastqsolexa": - -t solexa - #end if - - #end if - - #if str($readtype.single_or_paired) == "pe": - -f $input_paired1 -r $input_paired2 -o $output_paired1 -p $output_paired2 -s $output_paired_single - - #if $input_paired1.ext == "fastq": - -t sanger - #else if $input_paired1.ext == "fastqsanger": - -t sanger - #else if $input_paired1.ext == "fastqillumina": - -t illumina - #else if $input_paired1.ext == "fastqsolexa": - -t solexa - #end if - - #end if - - #if str($qual_threshold) != "": - -q $qual_threshold - #end if - - #if str($length_threshold) != "": - -l $length_threshold - #end if - - #if $no_five_prime: - -x - #end if - - #if $discard_n: - -n - #end if - </command> - - <inputs> - <conditional name="readtype"> - <param name="single_or_paired" type="select" optional="false" label="Single-End or Paired-End reads?" help="Note: Sickle will infer the quality type of the file from its datatype. I.e., if the datatype is fastqsanger, then the quality type is sanger. The default is fastqsanger."> - <option value="se" selected="true">Single-End</option> - <option value="pe">Paired-End</option> - </param> - - <when value="se"> - <param format="fastq, fastqsanger, fastqillumina, fastqsolexa" name="input_single" type="data" optional="false" label="Single-End FastQ Reads"/> - </when> - - <when value="pe"> - <param format="fastq, fastqsanger, fastqillumina, fastqsolexa" name="input_paired1" type="data" optional="false" label="Paired-End Forward Strand FastQ Reads"/> - <param format="fastq, fastqsanger, fastqillumina, fastqsolexa" name="input_paired2" type="data" optional="false" label="Paired-End Reverse Strand FastQ Reads"/> - </when> - </conditional> - - <param name="qual_threshold" value="20" type="integer" optional="true" label="Quality Threshold"> - <validator type="in_range" min="0" message="Minimum value is 0"/> - </param> - - <param name="length_threshold" value="20" type="integer" optional="true" label="Length Threshold"> - <validator type="in_range" min="0" message="Minimum value is 0"/> - </param> - - <param name="no_five_prime" type="boolean" label="Don't do 5' trimming"/> - <param name="discard_n" type="boolean" label="Discard sequences with Ns"/> - </inputs> - - <outputs> - <data format_source="input_single" name="output_single" label="Single-End output of ${tool.name} on ${on_string}"> - <filter>(readtype['single_or_paired'] == 'se')</filter> - </data> - - <data format_source="input_paired1" name="output_paired1" label="Paired-End forward strand output of ${tool.name} on ${on_string}"> - <filter>(readtype['single_or_paired'] == 'pe')</filter> - </data> - - <data format_source="input_paired2" name="output_paired2" label="Paired-End reverse strand output of ${tool.name} on ${on_string}"> - <filter>(readtype['single_or_paired'] == 'pe')</filter> - </data> - - <data format_source="input_paired1" name="output_paired_single" label="Singletons from Paired-End output of ${tool.name} on ${on_string}"> - <filter>(readtype['single_or_paired'] == 'pe')</filter> - </data> - </outputs> - - <stdio> - <exit_code range="1" level="fatal" description="sickle failed" /> - </stdio> - - <tests> - <test> - <param name="single_or_paired" value="se"/> - <param name="input_single" value="test.fastq" ftype="fastqillumina"/> - <param name="qual_threshold" value="33"/> - <param name="length_threshold" value="40"/> - <param name="no_five_prime" value="False"/> - <output name="output_single" file="trimmed_output_file.fastq" ftype="fastqillumina"/> - </test> - - <test> - <param name="single_or_paired" value="pe"/> - <param name="input_paired1" value="test.f.fastq" ftype="fastqillumina"/> - <param name="input_paired2" value="test.r.fastq" ftype="fastqillumina"/> - <param name="qual_threshold" value="12"/> - <param name="length_threshold" value="15"/> - <param name="no_five_prime" value="False"/> - <output name="output_paired1" file="trimmed_output_file1.fastq" ftype="fastqillumina"/> - <output name="output_paired2" file="trimmed_output_file2.fastq" ftype="fastqillumina"/> - <output name="output_paired_single" file="trimmed_singles_file.fastq" ftype="fastqillumina"/> - </test> - </tests> - - <help> -Most modern sequencing technologies produce reads that have deteriorating quality towards the 3'-end and some towards the 5'-end as well. Incorrectly called bases in both regions negatively impact assembles, mapping, and downstream bioinformatics analyses. - -Sickle is a tool that uses sliding windows along with quality and length thresholds to determine when quality is sufficiently low to trim the 3'-end of reads and also determines when the quality is sufficiently high enough to trim the 5'-end of reads. It will also discard reads based upon the length threshold. It takes the quality values and slides a window across them whose length is 0.1 times the length of the read. If this length is less than 1, then the window is set to be equal to the length of the read. Otherwise, the window slides along the quality values until the average quality in the window rises above the threshold, at which point the algorithm determines where within the window the rise occurs and cuts the read and quality there for the 5'-end cut. Then when the average quality in the window drops below the threshold, the algorithm determines where in the window the drop occurs and cuts both the read and quality strings there for the 3'-end cut. However, if the length of the remaining sequence is less than the minimum length threshold, then the read is discarded entirely. 5'-end trimming can be disabled. - -Sickle also has an option to discard reads with any Ns in them. - -Sickle supports three types of quality values: Illumina, Solexa, and Sanger. Note that the Solexa quality setting is an approximation (the actual conversion is a non-linear transformation). The end approximation is close. Illumina quality refers to qualities encoded with the CASAVA pipeline between versions 1.3 and 1.7. Illumina quality using CASAVA >= 1.8 is Sanger encoded. Sickle will get the quality type from the datatype of the file. - -Note that Sickle will remove the 2nd fastq record header (on the "+" line) and replace it with simply a "+". This is the default format for CASAVA >= 1.8. - -Sickle also supports gzipped file inputs. - </help> - -</tool>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/tempo2.pl Wed Aug 20 12:11:09 2014 -0400 @@ -0,0 +1,28 @@ +#!/usr/bin/perl +#V1.10 + +use strict; +use warnings; +use Getopt::Long; + +my $input1 = $ARGV[0]; +my $output1 = $ARGV[1]; +my $input2 = $ARGV[2]; +my $output2 = $ARGV[3]; + +open(IN1, $input1) or die ("Can't open $input1\n"); +open(OUT1, ">$output1") or die ("Can't open $output1\n"); +while (my $ligne = <IN1>){ + print OUT1 $ligne; +} +close (IN1); +close (OUT1); + +open(IN2, $input2) or die ("Can't open $input2\n"); +open(OUT2, ">$output2") or die ("Can't open $output2\n"); +while (my $ligne = <IN2>){ + print OUT2 $ligne; +} +close (IN2); +close (OUT2); +
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/tempo2.xml Wed Aug 20 12:11:09 2014 -0400 @@ -0,0 +1,66 @@ +<tool id="tempo2" name="tempo2" version="0.01"> +<description>Temporisation with 2 inputs</description> +<command interpreter="perl"> + tempo2.pl $input1 $output1 $input2 $output2 +</command> +<inputs> +<param name="input1" type="data" format="txt" label="Select a FILE1 from your history"/> +<param name="out1_format" type="select" label="Output1 data type"> + <option value="fasta">fasta</option> + <option value="fastq">fastq</option> + <option value="fastqillumina">fastq (ILLUMINA)</option> + <option value="fastqsanger">fastq (SANGER)</option> + <option value="pileup">pileup</option> + <option value="sam">sam</option> + <option value="bam">bam</option> + <option value="xml">xml</option> + <option value="txt">txt</option> +</param> +<param name="input2" type="data" format="txt" label="Select a FILE2 from your history"/> +<param name="out2_format" type="select" label="Output2 data type"> + <option value="fasta">fasta</option> + <option value="fastq">fastq</option> + <option value="fastqillumina">fastq (ILLUMINA)</option> + <option value="fastqsanger">fastq (SANGER)</option> + <option value="pileup">pileup</option> + <option value="sam">sam</option> + <option value="bam">bam</option> + <option value="xml">xml</option> + <option value="txt">txt</option> +</param> + +</inputs> +<outputs> + + +<data format="txt" name="output1" label="OUTPUT 1"> + <change_format> + <when input="out1_format" value="fasta" format="fasta" /> + <when input="out1_format" value="fastq" format="fastq,fastqillumina,fastqsanger,fastqsolexa" /> + <when input="out1_format" value="fastqillumina" format="fastqillumina" /> + <when input="out1_format" value="fastqsanger" format="fastqsanger" /> + <when input="out1_format" value="pileup" format="pileup" /> + <when input="out1_format" value="sam" format="sam" /> + <when input="out1_format" value="bam" format="bam" /> + <when input="out1_format" value="xml" format="xml" /> + </change_format> +</data> +<data format="txt" name="output2" label="OUTPUT 2"> + <change_format> + <when input="out2_format" value="fasta" format="fasta" /> + <when input="out2_format" value="fastq" format="fastq,fastqillumina,fastqsanger,fastqsolexa" /> + <when input="out2_format" value="fastqillumina" format="fastqillumina" /> + <when input="out2_format" value="fastqsanger" format="fastqsanger" /> + <when input="out2_format" value="pileup" format="pileup" /> + <when input="out2_format" value="sam" format="sam" /> + <when input="out2_format" value="bam" format="bam" /> + <when input="out2_format" value="xml" format="xml" /> + </change_format> +</data> + +</outputs> + +<help> + +</help> +</tool>
--- a/rapsodyn/test.pl Tue Aug 19 13:00:53 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -#!/usr/bin/perl -#V1.10 - -use strict; -use warnings; -use Getopt::Long; - -my $input_read1_file = $ARGV[0]; -my $input_read2_file = $ARGV[1]; -my $input_assembly_file = $ARGV[2]; -my $output_read1_file = $ARGV[3]; -my $output_read2_file = $ARGV[4]; -my $output_assembly_file = $ARGV[5]; - -#$output_read1_file = $input_read1_file.".tmp"; -#$output_read2_file = $input_read2_file.".tmp"; -#$output_assembly_file = $input_assembly_file.".tmp"; - - - -open(INR1, $input_read1_file) or die ("Can't open $input_read1_file\n"); -open(INR2, $input_read2_file) or die ("Can't open $input_read2_file\n"); -open(INAF, $input_assembly_file) or die ("Can't open $input_assembly_file\n"); - - -open(OUTR1, ">$output_read1_file") or die ("Can't open $output_read1_file\n"); -open(OUTR2, ">$output_read2_file") or die ("Can't open $output_read2_file\n"); -open(OUTAF, ">$output_assembly_file") or die ("Can't open $output_assembly_file\n"); - - - -while (my $ligne = <INR1>){ - print OUTR1 $ligne; -} - -close (INR1); -close (OUTR1); - -while (my $ligne = <INR2>){ - print OUTR2 $ligne; -} - -close (INR2); -close (OUTR2); - -while (my $ligne = <INAF>){ - print OUTAF $ligne; -} - -close (INAF); -close (OUTAF); - -print "Filler\n"; -print "$output_read1_file\n"; -
--- a/rapsodyn/test.xml Tue Aug 19 13:00:53 2014 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -<tool id="test" name="test" version="0.01"> -<description>Merge best results from Blast</description> -<command interpreter="perl"> - test.pl $input_read1_file $input_read2_file $input_assembly_file $output_read1_file $output_read2_file $output_assembly_file > $output_stat_file -</command> -<inputs> -<param name="input_read1_file" type="data" format="fastq,fastqsolexa,fastqillumina,fastqsanger" label="Select a suitable input READ1 TRIMMED file from your history"/> -<param name="input_read2_file" type="data" format="fastq,fastqsolexa,fastqillumina,fastqsanger" label="Select a suitable input READ2 TRIMMED file from your history"/> -<param name="input_assembly_file" type="data" format="fasta" label="Select a suitable input ASSEMBLY file from your history"/> -</inputs> -<outputs> - <data name="output_read1_file" format="fastqsanger" label="${tool.name} READ1 TRIMMED"/> - <data name="output_read2_file" format="fastqsanger" label="${tool.name} READ2 TRIMMED"/> - <data name="output_assembly_file" format="fasta" label="${tool.name} ASSEMBLY"/> - <data name="output_stat_file" format="txt" label="${tool.name} STATS"/> -</outputs> - -<help> - -</help> -</tool>