Mercurial > repos > iuc > pear
annotate pear.xml @ 10:8941e2fa1dac draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
| author | iuc |
|---|---|
| date | Wed, 01 Sep 2021 07:56:52 +0000 |
| parents | 5d2d653c7cb0 |
| children | 9f65d5e29e94 |
| rev | line source |
|---|---|
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
1 <tool id="iuc_pear" name="Pear" version="0.9.6.1"> |
| 3 | 2 <description>Paired-End read merger</description> |
|
10
8941e2fa1dac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
9
diff
changeset
|
3 <xrefs> |
|
8941e2fa1dac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
9
diff
changeset
|
4 <xref type="bio.tools">pear</xref> |
|
8941e2fa1dac
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit e0d4688a59e6eeba33adcfe803ac43d0bc2863e7"
iuc
parents:
9
diff
changeset
|
5 </xrefs> |
| 3 | 6 <requirements> |
| 7 <requirement type="package" version="0.9.6">pear</requirement> | |
| 8 </requirements> | |
| 9 <stdio> | |
| 10 <exit_code range="1:" /> | |
| 11 <exit_code range=":-1" /> | |
| 12 <regex match="Error:" /> | |
| 13 <regex match="Exception:" /> | |
| 14 </stdio> | |
| 15 <command> | |
| 16 <![CDATA[ | |
| 17 pear | |
| 18 #if str( $library.type ) == "paired": | |
| 19 -f "$library.forward" | |
| 20 -r "$library.reverse" | |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
21 #if $library.forward.is_of_type( 'fastqillumina' ): |
|
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
22 --phred-base 64 |
|
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
23 #else: |
|
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
24 --phred-base 33 |
|
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
25 #end if |
| 3 | 26 #else |
| 27 ## prepare collection | |
|
8
bb0164f44f3c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit bfa8bda732de882f6fa5f5375f8468ad229cceea
iuc
parents:
7
diff
changeset
|
28 -f "$library.input_collection.forward" |
|
bb0164f44f3c
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit bfa8bda732de882f6fa5f5375f8468ad229cceea
iuc
parents:
7
diff
changeset
|
29 -r "$library.input_collection.reverse" |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
30 #if $library.input_collection.forward.is_of_type( 'fastqillumina' ): |
|
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
31 --phred-base 64 |
|
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
32 #else: |
|
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
33 --phred-base 33 |
|
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
34 #end if |
| 3 | 35 #end if |
| 36 | |
| 37 --output pear | |
| 38 --p-value $pvalue | |
| 39 --min-overlap $min_overlap | |
| 40 #if int($max_assembly_length) > 0: | |
| 41 --max-asm-length $max_assembly_length | |
| 42 #end if | |
| 43 --min-asm-length $min_assembly_length | |
| 44 --min-trim-length $min_trim_length | |
| 45 --quality-theshold $quality_threshold | |
| 46 --max-uncalled-base $max_uncalled_base | |
| 47 --test-method $test_method | |
| 48 --empirical-freqs $empirical_freqs | |
| 49 -j "\${GALAXY_SLOTS:-8}" | |
| 50 --score-method $score_method | |
| 51 --cap $cap | |
| 52 $nbase | |
| 53 ]]> | |
| 54 </command> | |
| 55 <inputs> | |
| 56 <conditional name="library"> | |
| 57 <param name="type" type="select" label="Dataset type"> | |
| 58 <option value="paired">Paired-end</option> | |
| 59 <option value="paired_collection">Paired-end Dataset Collection</option> | |
| 60 </param> | |
| 61 <when value="paired"> | |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
62 <param name="forward" type="data" format="fastqillumina,fastqsanger" |
| 3 | 63 label="Name of file that contains the forward paired-end reads" help="-f" /> |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
64 <param name="reverse" type="data" format="fastqillumina,fastqsanger" |
| 3 | 65 label="Name of file that contains the reverse paired-end reads" help="-r" /> |
| 66 </when> | |
| 67 <when value="paired_collection"> | |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
68 <param name="input_collection" format="fastqillumina,fastqsanger" |
| 3 | 69 type="data_collection" collection_type="paired" |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
70 label="FASTQ Paired Dataset" help="Nucleotide-space: Must have PHRED-scaled quality values. (-f and -r)" /> |
| 3 | 71 </when> |
| 72 </conditional> | |
| 73 | |
| 74 <!-- optional --> | |
| 75 <param name="pvalue" type="float" value="0.01" min="0" optional="True" max="1" label="Specify a p-value for the statistical test" | |
| 76 help="If the computed p-value of a possible assembly exceeds the specified p-value then the paired-end read will not be assembled. Setting 1.0 disables the test. (--p-value)" /> | |
| 77 | |
| 78 <param name="min_overlap" type="integer" value="10" optional="True" label="Minimum overlap size" | |
| 79 help="The minimum overlap may be set to 1 when the statistical test is used. However, further restricting the minimum overlap size to a proper value may reduce false-positive assembles. (--min-overlap)" /> | |
| 80 | |
| 81 <param name="max_assembly_length" type="integer" value="0" optional="True" label="Maximum possible length of the assembled sequences" | |
| 82 help="Setting this value to 0 disables the restriction and assembled sequences may be arbitrary long. (--max-assembly-length)" /> | |
| 83 | |
| 84 <param name="min_assembly_length" type="integer" value="50" optional="True" label="Minimum possible length of the assembled sequences" | |
| 85 help="Setting this value to 0 disables the restriction and assembled sequences may be arbitrary short. (--min-assembly-length)" /> | |
| 86 | |
| 87 <param name="min_trim_length" type="integer" value="1" optional="True" label="Minimum length of reads after trimming the low quality part" | |
| 88 help="See option -q. (--min-trim-length)" /> | |
| 89 | |
| 90 <param name="quality_threshold" type="integer" value="0" optional="True" label="Quality score threshold for trimming the low quality part of a read" | |
| 91 help="If the quality scores of two consecutive bases are strictly less than the specified threshold, the rest of the read will be trimmed. (--quality-threshold)" /> | |
| 92 | |
| 93 <param name="max_uncalled_base" type="float" value="1.0" min="0" optional="True" max="1" label="Maximal proportion of uncalled bases in a read" | |
| 94 help="Setting this value to 0 will cause PEAR to discard all reads containing uncalled bases. The other extreme setting is 1 which causes PEAR to process all reads independent on the number of uncalled bases. (--max-uncalled-base)" /> | |
| 95 | |
| 96 <param name="cap" type="integer" value="40" optional="True" label="Specify the upper bound for the resulting quality score" | |
| 97 help="If set to zero, capping is disabled. (--cap)" /> | |
| 98 | |
| 99 <param name="test_method" type="select" label="Type of statistical test" help="(--test-method)"> | |
| 100 <option value="1" selected="True">Given the minimum allowed overlap, test using the highest OES (1)</option> | |
| 101 <option value="2">Use the acceptance probability (2)</option> | |
| 102 </param> | |
| 103 | |
| 104 <param name="empirical_freqs" type="boolean" truevalue="-e" falsevalue="" checked="false" | |
| 105 label="Disable empirical base frequencies" help="(--empirical-freqs)" /> | |
| 106 <param name="nbase" type="boolean" truevalue="--nbase" falsevalue="" checked="false" | |
| 107 label="Use N base if uncertain" help="When merging a base-pair that consists of two non-equal bases out of which none is degenerate, set the merged base to N and use the highest quality score of the two bases. (--nbase)" /> | |
| 108 | |
| 109 <param name="score_method" type="select" label="Scoring method" help="(--score-method)"> | |
| 110 <option value="1">OES with +1 for match and -1 for mismatch</option> | |
| 111 <option value="2" selected="True">Assembly score (AS) use +1 for match and -1 for mismatch multiplied by base quality scores</option> | |
| 112 <option value="3">Ignore quality scores and use +1 for a match and -1 for a mismatch</option> | |
| 113 </param> | |
| 114 | |
| 115 <param name="outputs" type="select" display="checkboxes" optional="False" multiple="True" label="Output files"> | |
| 116 <option value="assembled" selected="True">Assembled reads</option> | |
| 117 <option value="forward">Forward unassembled reads</option> | |
| 118 <option value="reverse">Reverse unassembled reads</option> | |
| 119 <option value="discarded">Discarded reads</option> | |
| 120 </param> | |
| 121 </inputs> | |
| 122 <outputs> | |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
123 <data format="input" name="assembled_reads" from_work_dir="pear.assembled.fastq" label="${tool.name} on ${on_string}: Assembled reads"> |
| 3 | 124 <filter>'assembled' in outputs</filter> |
| 125 </data> | |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
126 <data format="input" name="unassembled_forward_reads" from_work_dir="pear.unassembled.forward.fastq" label="${tool.name} on ${on_string}: Unassembled forward reads"> |
| 3 | 127 <filter>'forward' in outputs</filter> |
| 128 </data> | |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
129 <data format="input" name="unassembled_reverse_reads" from_work_dir="pear.unassembled.reverse.fastq" label="${tool.name} on ${on_string}: Unassembled reverse reads"> |
| 3 | 130 <filter>'reverse' in outputs</filter> |
| 131 </data> | |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
132 <data format="input" name="discarded_reads" from_work_dir="pear.discarded.fastq" label="${tool.name} on ${on_string}: Discarded reads"> |
| 3 | 133 <filter>'discarded' in outputs</filter> |
| 134 </data> | |
| 135 </outputs> | |
| 136 <tests> | |
| 137 <test> | |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
138 <param name="forward" value="forward.fastq" ftype="fastqsanger" /> |
|
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
139 <param name="reverse" value="reverse.fastq" ftype="fastqsanger" /> |
| 3 | 140 <param name="min_overlap" value="10" /> |
| 141 <param name="min_assembly_length" value="50" /> | |
| 142 <param name="cap" value="0" /> | |
| 143 <param name="outputs" value="assembled,forward" /> | |
|
7
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
144 <output name="assembled_reads" file="pear_assembled_results1.fastq" ftype="fastqsanger"/> |
|
5bbdf641a2d5
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit baa6a1ec8b3c440cdf73409ccaafcd303e9f4e72
iuc
parents:
3
diff
changeset
|
145 <output name="unassembled_forward_reads" file="pear_unassembled_forward_results1.fastq" ftype="fastqsanger"/> |
| 3 | 146 </test> |
| 147 </tests> | |
| 148 <help> | |
| 149 < license |
|
5d2d653c7cb0
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/pear commit d43478961a586d7cda1fb37358c5a26a0ffa1a15
iuc
parents:
8
diff
changeset
|
166 and that commercial partners should obtain a license. |
| 3 | 167 |
| 168 ]]> | |
| 169 </help> | |
| 170 <citations> | |
| 171 <citation type="doi">10.1093/bioinformatics/btt593</citation> | |
| 172 </citations> | |
| 173 </tool> |
