Mercurial > repos > iuc > eukrep
comparison eukrep.xml @ 0:218f37ca06e4 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/eukrep commit 21990794f87526caeb6e754d3f895da81d5f4a1f
| author | iuc |
|---|---|
| date | Fri, 01 Aug 2025 20:44:27 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:218f37ca06e4 |
|---|---|
| 1 <tool id="eukrep" name="EukRep" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.0" license="MIT"> | |
| 2 <description>Classification of Eukaryotic and Prokaryotic sequences from metagenomic datasets</description> | |
| 3 <macros> | |
| 4 <token name="@TOOL_VERSION@">0.6.7</token> | |
| 5 <token name="@VERSION_SUFFIX@">0</token> | |
| 6 </macros> | |
| 7 <xrefs> | |
| 8 <xref type="bio.tools">eukrep</xref> | |
| 9 </xrefs> | |
| 10 <requirements> | |
| 11 <requirement type="package" version="@TOOL_VERSION@">eukrep</requirement> | |
| 12 </requirements> | |
| 13 <version_command>EukRep --version | cut -d" " -f 2</version_command> | |
| 14 <command detect_errors="exit_code"><![CDATA[ | |
| 15 ln -s '$input' input.$input.ext && | |
| 16 EukRep | |
| 17 -i input.$input.ext | |
| 18 -o 'output.fa' | |
| 19 ## -ff Force overwrite of existing output files | |
| 20 --min $min | |
| 21 ## --model MODEL Path to an alternate trained linear SVM model. Default is lin_svm_160_3.0.pickle | |
| 22 --kmer_len $kmer_len | |
| 23 #if $prokarya | |
| 24 --prokarya 'output_prokarya.fa' | |
| 25 #end if | |
| 26 $seq_names | |
| 27 -m $stringency | |
| 28 --tie $tie | |
| 29 ]]></command> | |
| 30 <inputs> | |
| 31 <param name="input" type="data" format="fasta,fasta.gz" label="Sequences"/> | |
| 32 <param argument="--min" type="integer" value="3000" min="0" label="Minimum sequence length cutoff" help="for sequences to be included in prediction"/> | |
| 33 <!-- --> | |
| 34 <param argument="--kmer_len" type="integer" value="5" min="3" max="6" label="K-mer length" help="K-mer length to use for making predictions"/> | |
| 35 <param argument="--prokarya" type="boolean" label="Output predicted prokaryotic sequences"/> | |
| 36 <param argument="--seq_names" type="boolean" truevalue="--seq_names" falsevalue="" label="Only output fasta headers" help="of identified sequences, instead of full FASTA entry"/> | |
| 37 <param name="stringency" argument="-m" type="select" label="Stringency" help="How stringent the algorithm is in identifying eukaryotic scaffolds. Strict has a lower false positive rate and true positive rate; vice verso for leneient"> | |
| 38 <option value="strict">Strict</option> | |
| 39 <option value="balanced" selected="true">Balanced</option> | |
| 40 <option value="lenient">Lenient</option> | |
| 41 </param> | |
| 42 <param argument="--tie" type="select" label="Tie handling" help="Specify how to handle cases where an equal number of a sequences chunks are predicted to be of eukaryotic and prokaryotic origin (Generally occurs infrequently)"> | |
| 43 <option value="euk" selected="true">Eukaryotic</option> | |
| 44 <option value="prok">Prokaryotic</option> | |
| 45 <option value="rand">Random</option> | |
| 46 <option value="skip">Do not classify</option> | |
| 47 </param> | |
| 48 </inputs> | |
| 49 <outputs> | |
| 50 <data name="output" format="fasta" from_work_dir="output.fa" label="${tool.name} on ${on_string}"> | |
| 51 <filter>not seq_names</filter> | |
| 52 </data> | |
| 53 <data name="output_prokarya" format="fasta" from_work_dir="output_prokarya.fa" label="${tool.name} on ${on_string}: Prokaryote sequences"> | |
| 54 <filter>not seq_names</filter> | |
| 55 <filter>prokarya</filter> | |
| 56 </data> | |
| 57 <data name="output_names" format="txt" from_work_dir="output.fa" label="${tool.name} on ${on_string}: Eukaryote names"> | |
| 58 <filter>seq_names</filter> | |
| 59 </data> | |
| 60 <data name="output_prokarya_names" format="txt" from_work_dir="output_prokarya.fa" label="${tool.name} on ${on_string}: Prokaryote names"> | |
| 61 <filter>prokarya</filter> | |
| 62 <filter>seq_names</filter> | |
| 63 </data> | |
| 64 </outputs> | |
| 65 <tests> | |
| 66 <test expect_num_outputs="1"> | |
| 67 <param name="input" value="test_scaffolds.fa" location="https://github.com/patrickwest/EukRep/raw/refs/tags/v0.6.6/tests/test_sequences/test_scaffolds.fa"/> | |
| 68 <param name="kmer_len" value="4"/> | |
| 69 <output name="output"> | |
| 70 <assert_contents> | |
| 71 <has_line line=">test_sequence_5" n="1"/> | |
| 72 <has_n_lines n="2"/> | |
| 73 </assert_contents> | |
| 74 </output> | |
| 75 </test> | |
| 76 <test expect_num_outputs="1"> | |
| 77 <param name="input" value="test_scaffolds.fa" location="https://github.com/patrickwest/EukRep/raw/refs/tags/v0.6.6/tests/test_sequences/test_scaffolds.fa"/> | |
| 78 <param name="kmer_len" value="4"/> | |
| 79 <param name="seq_names" value="true"/> | |
| 80 <output name="output_names"> | |
| 81 <assert_contents> | |
| 82 <has_line line="test_sequence_5" n="1"/> | |
| 83 <has_n_lines n="1"/> | |
| 84 </assert_contents> | |
| 85 </output> | |
| 86 </test> | |
| 87 <test expect_num_outputs="2"> | |
| 88 <param name="input" value="test_scaffolds.fa" location="https://github.com/patrickwest/EukRep/raw/refs/tags/v0.6.6/tests/test_sequences/test_scaffolds.fa"/> | |
| 89 <param name="kmer_len" value="4"/> | |
| 90 <param name="prokarya" value="true"/> | |
| 91 <output name="output"> | |
| 92 <assert_contents> | |
| 93 <has_line line=">test_sequence_5" n="1"/> | |
| 94 <has_n_lines n="2"/> | |
| 95 </assert_contents> | |
| 96 </output> | |
| 97 <output name="output_prokarya"> | |
| 98 <assert_contents> | |
| 99 <has_line line=">test_sequence_5" negate="true"/> | |
| 100 <has_n_lines n="24"/> | |
| 101 </assert_contents> | |
| 102 </output> | |
| 103 </test> | |
| 104 <test expect_num_outputs="2"> | |
| 105 <param name="input" value="test_scaffolds.fa" location="https://github.com/patrickwest/EukRep/raw/refs/tags/v0.6.6/tests/test_sequences/test_scaffolds.fa"/> | |
| 106 <param name="kmer_len" value="4"/> | |
| 107 <param name="seq_names" value="true"/> | |
| 108 <param name="prokarya" value="true"/> | |
| 109 <output name="output_names"> | |
| 110 <assert_contents> | |
| 111 <has_line line="test_sequence_5" n="1"/> | |
| 112 <has_n_lines n="1"/> | |
| 113 </assert_contents> | |
| 114 </output> | |
| 115 <output name="output_prokarya_names"> | |
| 116 <assert_contents> | |
| 117 <has_line line="test_sequence_5" negate="true"/> | |
| 118 <has_n_lines n="12"/> | |
| 119 </assert_contents> | |
| 120 </output> | |
| 121 | |
| 122 </test> | |
| 123 </tests> | |
| 124 <help><![CDATA[ | |
| 125 | |
| 126 .. class:: infomark | |
| 127 | |
| 128 **What it does** | |
| 129 | |
| 130 Classification of Eukaryotic and Prokaryotic sequences from metagenomic datasetsocs/ref/rst/restructuredtext.html) | |
| 131 | |
| 132 Usage | |
| 133 ..... | |
| 134 | |
| 135 | |
| 136 **Input** | |
| 137 | |
| 138 Sequences in FASTA format. | |
| 139 | |
| 140 **Output** | |
| 141 | |
| 142 Eukaryotic sequences in FASTA format. | |
| 143 | |
| 144 | |
| 145 ]]></help> | |
| 146 <citations> | |
| 147 <citation type="doi">10.1101/gr.228429.117</citation> | |
| 148 </citations> | |
| 149 </tool> |
