Mercurial > repos > mcharles > rapsodyn
changeset 11:b7125d07b446 draft
Uploaded
author | mcharles |
---|---|
date | Thu, 14 Aug 2014 09:39:11 -0400 |
parents | 05949fc8dfe1 |
children | 658acc3202dc |
files | rapsodyn/Galaxy-Workflow-Rapsodyn_v1.32.ga rapsodyn/sickle.xml rapsodyn/tool_dependencies.xml |
diffstat | 3 files changed, 783 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rapsodyn/Galaxy-Workflow-Rapsodyn_v1.32.ga Thu Aug 14 09:39:11 2014 -0400 @@ -0,0 +1,632 @@ +{ + "a_galaxy_workflow": "true", + "annotation": "", + "format-version": "0.1", + "name": "Rapsodyn v1.32", + "steps": { + "0": { + "annotation": "", + "id": 0, + "input_connections": {}, + "inputs": [ + { + "description": "", + "name": "READ1" + } + ], + "name": "Input dataset", + "outputs": [], + "position": { + "left": 200, + "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": 200, + "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": 200, + "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": 200, + "top": 659 + }, + "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": 404 + }, + "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": 535 + }, + "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": 666 + }, + "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": 245 + }, + "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": 732 + }, + "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": 200 + }, + "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": { + "genomeSource|ownFile": { + "id": 2, + "output_name": "output" + }, + "paired|input1": { + "id": 9, + "output_name": "output_paired1" + }, + "paired|input2": { + "id": 9, + "output_name": "output_paired2" + } + }, + "inputs": [], + "name": "Map with BWA for Illumina", + "outputs": [ + { + "name": "output", + "type": "sam" + } + ], + "position": { + "left": 1412, + "top": 404 + }, + "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": [] + }, + "11": { + "annotation": "", + "id": 11, + "input_connections": { + "input_sam_file": { + "id": 10, + "output_name": "output" + } + }, + "inputs": [], + "name": "filtersamunique", + "outputs": [ + { + "name": "output_file", + "type": "sam" + } + ], + "position": { + "left": 1676, + "top": 404 + }, + "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": [] + }, + "12": { + "annotation": "", + "id": 12, + "input_connections": { + "input1": { + "id": 11, + "output_name": "output_file" + } + }, + "inputs": [], + "name": "Filter SAM or BAM", + "outputs": [ + { + "name": "output1", + "type": "sam" + } + ], + "position": { + "left": 2004, + "top": 404 + }, + "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": { + "source|input1": { + "id": 12, + "output_name": "output1" + }, + "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": [] + }, + "14": { + "annotation": "", + "id": 14, + "input_connections": { + "reference_source|input_bams_0|input_bam": { + "id": 13, + "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": 404 + }, + "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": [] + }, + "15": { + "annotation": "", + "id": 15, + "input_connections": { + "input_file": { + "id": 14, + "output_name": "output_mpileup" + } + }, + "inputs": [], + "name": "mpileupfilter", + "outputs": [ + { + "name": "output_file", + "type": "pileup" + } + ], + "position": { + "left": 2886, + "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": [] + }, + "16": { + "annotation": "", + "id": 16, + "input_connections": { + "input_listA": { + "id": 15, + "output_name": "output_file" + }, + "input_listB": { + "id": 3, + "output_name": "output" + } + }, + "inputs": [], + "name": "listfiltering", + "outputs": [ + { + "name": "output_file", + "type": "pileup" + } + ], + "position": { + "left": 3214, + "top": 404 + }, + "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": [] + }, + "17": { + "annotation": "", + "id": 17, + "input_connections": { + "input_assembly_file": { + "id": 2, + "output_name": "output" + }, + "input_variant_file": { + "id": 16, + "output_name": "output_file" + } + }, + "inputs": [], + "name": "extractseq", + "outputs": [ + { + "name": "output_file", + "type": "fasta" + } + ], + "position": { + "left": 3542, + "top": 404 + }, + "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": [] + }, + "18": { + "annotation": "", + "id": 18, + "input_connections": { + "db_opts|histdb": { + "id": 8, + "output_name": "outfile" + }, + "query": { + "id": 17, + "output_name": "output_file" + } + }, + "inputs": [], + "name": "NCBI BLAST+ blastn", + "outputs": [ + { + "name": "output1", + "type": "tabular" + } + ], + "position": { + "left": 3870, + "top": 404 + }, + "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": [] + }, + "19": { + "annotation": "", + "id": 19, + "input_connections": { + "input_blastxml_file": { + "id": 18, + "output_name": "output1" + }, + "input_variant_file": { + "id": 16, + "output_name": "output_file" + } + }, + "inputs": [], + "name": "mpileupfilteronblastxml", + "outputs": [ + { + "name": "output_file", + "type": "pileup" + } + ], + "position": { + "left": 4172, + "top": 404 + }, + "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/sickle.xml Thu Aug 14 09:39:11 2014 -0400 @@ -0,0 +1,144 @@ +<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/tool_dependencies.xml Thu Aug 14 09:39:11 2014 -0400 @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="sickle" version="1.210"> + <repository toolshed="http://testtoolshed.g2.bx.psu.edu" name="package_sickle_1_210" owner="jjohnson" changeset_revision="a78ad39d5ede" /> + </package> +</tool_dependency> +