Mercurial > repos > iuc > pimento_std
comparison std.xml @ 0:1ddab994fcee draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/pimento commit 69888afa40f5ac6a42fa9335cf61f0bb6387eb2f
| author | iuc |
|---|---|
| date | Tue, 05 Aug 2025 09:21:07 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:1ddab994fcee |
|---|---|
| 1 <tool id="pimento_std" name="PIMENTO Standard primer matching" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" license="@LICENSE@"> | |
| 2 <description>Finds best-matching primers in reads using a fuzzy search against a standard primer library</description> | |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="creators"/> | |
| 7 <expand macro="requirements"/> | |
| 8 <command detect_errors="aggressive"><![CDATA[ | |
| 9 #if $primers: | |
| 10 mkdir primers && | |
| 11 cp '$primers' primers && | |
| 12 pimento std -i '$input_reads' -p primers --minimum_primer_threshold $minimum_primer_threshold $merged -o sample | |
| 13 #else | |
| 14 pimento std -i '$input_reads' --minimum_primer_threshold $minimum_primer_threshold $merged -o sample | |
| 15 #end if | |
| 16 ]]></command> | |
| 17 <inputs> | |
| 18 <param name="input_reads" type="data" label="Input reads" format="fastqsanger.gz"/> | |
| 19 <param name="primers" type="data" label="Input standard primers" format="fasta" optional="true"/> | |
| 20 <param argument="--minimum_primer_threshold" type="float" value="0.6" min="0.1" max="1.0" label="Minimum primer threshold" help="Any primers with a read proportion lower than this threshold are disregarded"/> | |
| 21 <param argument="--merged" type="boolean" truevalue="--merged" falsevalue="" help="Necessary if the input sequence file is made up of merged paired-end or single-end reads"/> | |
| 22 </inputs> | |
| 23 <outputs> | |
| 24 <data name="fasta_output" label="${tool.name} on ${on_string}: FASTA containing best found single or pairs of primers" format="fasta" from_work_dir="sample_std_primers.fasta"/> | |
| 25 <data name="best_found_primers" label="${tool.name} on ${on_string}: Best found primers" format="txt" from_work_dir="sample_std_primer_out.txt"/> | |
| 26 <data name="searched_primers" label="${tool.name} on ${on_string}: Every single searched primer" format="txt" from_work_dir="all_standard_primer_proportions.txt"/> | |
| 27 </outputs> | |
| 28 <tests> | |
| 29 <test expect_num_outputs="3"> | |
| 30 <param name="input_reads" value="test.fastq.gz"/> | |
| 31 <param name="minimum_primer_threshold" value="0.6"/> | |
| 32 <param name="merged" value="true"/> | |
| 33 <output name="fasta_output"> | |
| 34 <assert_contents> | |
| 35 <has_line line=">341F"/> | |
| 36 <has_line line="CCTACGGGNGGCWGCAG"/> | |
| 37 <has_n_lines n="4"/> | |
| 38 </assert_contents> | |
| 39 </output> | |
| 40 <output name="best_found_primers"> | |
| 41 <assert_contents> | |
| 42 <has_line line="V3-V4"/> | |
| 43 <has_line line="341F: 0.984"/> | |
| 44 <has_line line="805R: 0.948"/> | |
| 45 </assert_contents> | |
| 46 </output> | |
| 47 <output name="searched_primers"> | |
| 48 <assert_contents> | |
| 49 <has_line line="V3;341F:0.984"/> | |
| 50 <has_line line="V3;338F:0.0"/> | |
| 51 <has_n_lines n="148"/> | |
| 52 </assert_contents> | |
| 53 </output> | |
| 54 </test> | |
| 55 </tests> | |
| 56 <help><![CDATA[ | |
| 57 Runs the standard primer matching strategy for primer inference. A library | |
| 58 of standard primers will be searched in input reads using fuzzy regex to | |
| 59 identify primers with high degrees of proportions. The best single, or pair, | |
| 60 of primers found will be outputted into a FASTA file (provided any were | |
| 61 indeed found). PIMENTO comes with its own standard primer library which will | |
| 62 be used as a default. Users can however give their own custom input library, | |
| 63 or extend the default library to suit their needs. | |
| 64 ]]></help> | |
| 65 <expand macro="citations"/> | |
| 66 </tool> |
