annotate mafFilter.xml @ 1:fdd62fea0713 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 747e3f71fa11ce2555debdb5fdb6dce9838c71af
author iuc
date Mon, 19 Jan 2026 19:05:20 +0000
parents 9137408d4634
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
1 <tool id="ucsc_mafFilter" name="mafFilter" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="24.2" license="MIT">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
2 <description>Filter MAF files based on various criteria</description>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
3 <macros>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">482</token>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
6 </macros>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
7 <requirements>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
8 <requirement type="package" version="@TOOL_VERSION@">ucsc-maffilter</requirement>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
9 </requirements>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
11 mafFilter
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
12 $tolerate
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
13 #if $minCol
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
14 -minCol='$minCol'
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
15 #end if
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
16 #if $minRow
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
17 -minRow='$minRow'
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
18 #end if
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
19 #if $maxRow
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
20 -maxRow='$maxRow'
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
21 #end if
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
22 #if $factor_options.factor_enabled == "yes":
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
23 -factor -minFactor='$minFactor'
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
24 #end if
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
25 #if $minScore
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
26 -minScore='$minScore'
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
27 #end if
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
28 #if $reject
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
29 -reject='$rejected_maf'
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
30 #end if
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
31 #if $needComp
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
32 -needComp='$needComp'
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
33 #end if
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
34 $overlap
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
35 #if $componentFilter
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
36 -componentFilter='$componentFilter'
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
37 #end if
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
38 #if $speciesFilter
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
39 -speciesFilter='$speciesFilter'
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
40 #end if
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
41 '$input_maf' > '$output_maf'
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
42 ]]></command>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
43 <inputs>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
44 <param name="input_maf" type="data" format="maf" label="Input MAF file" help="Select the MAF file to filter."/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
45 <param argument="-tolerate" type="boolean" truevalue="-tolerate" falsevalue="" checked="false" label="Tolerate bad input" help="Ignore bad input rather than aborting."/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
46 <param argument="-minCol" type="integer" optional="true" value="1" min="1" label="Minimum columns" help="Filter out blocks with fewer than this number of columns."/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
47 <param argument="-minRow" type="integer" optional="true" value="2" min="1" label="Minimum rows" help="Filter out blocks with fewer than this number of rows."/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
48 <param argument="-maxRow" type="integer" optional="true" value="100" min="1" label="Maximum rows" help="Filter out blocks with more than or equal to this number of rows."/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
49 <conditional name="factor_options">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
50 <param name="factor_enabled" type="select" label="Enable factor" help="Enable factor for score filtering">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
51 <option value="yes">Yes</option>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
52 <option value="no" selected="true">No</option>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
53 </param>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
54 <when value="yes">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
55 <param argument="-factor" type="boolean" truevalue="-factor" falsevalue="" label="Use factor-based score filtering" help="Filter out scores below -minFactor * (ncol^2) * nrow"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
56 <param argument="-minFactor" type="integer" value="5" min="0" label="Minimum factor" help="Factor to use with factor-based score filtering"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
57 </when>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
58 <when value="no"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
59 </conditional>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
60 <param argument="-minScore" type="float" label="Minimum score" help="Minimum allowed score (alternative to factor-based filtering)" optional="true"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
61 <param argument="-reject" type="boolean" truevalue="-reject" falsevalue="" optional="true" label="Save Rejected blocks to an output file" help="Select if you like to save rejected blocks to a file"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
62 <param argument="-needComp" type="text" label="Required species component" help="All alignments must have this species as one of the components" optional="true"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
63 <param argument="-overlap" type="boolean" truevalue="-overlap" falsevalue="" checked="false" label="Reject overlapping blocks" help="Reject overlapping blocks in reference (assumes ordered blocks)."/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
64 <param argument="-componentFilter" type="data" format="txt" label="Component filter file" help="Filter out blocks without a component listed in this file." optional="true"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
65 <param argument="-speciesFilter" type="data" format="txt" label="Species filter file" help="Filter out blocks without a species listed in this file." optional="true"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
66 </inputs>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
67 <outputs>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
68 <data name="output_maf" format="maf" label="${tool.name} on ${on_string}: Filtered MAF output"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
69 <data name="rejected_maf" format="maf" label="${tool.name} on ${on_string}: Rejected blocks">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
70 <filter>reject</filter>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
71 </data>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
72 </outputs>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
73 <tests>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
74 <!-- Test 1: Testing -tolerate option on malformed MAF File -->
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
75 <test expect_num_outputs="1">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
76 <param name="input_maf" value="malformed.maf"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
77 <param name="tolerate" value="true"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
78 <output name="output_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
79 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
80 <has_n_lines n="28"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
81 <not_has_text text="s dog.chr6"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
82 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
83 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
84 </test>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
85 <!-- Test 2: Testing -minCol option on MAF File -->
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
86 <test expect_num_outputs="1">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
87 <param name="input_maf" value="filter_in.maf"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
88 <param name="minCol" value="10"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
89 <output name="output_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
90 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
91 <has_n_lines n="29"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
92 <not_has_text text="a score=500.0"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
93 <not_has_text text="s human.chr2 150 5 + 1000 ACGTA"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
94 <not_has_text text="s mouse.chr2 250 5 + 2000 ACGT-"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
95 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
96 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
97 </test>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
98 <!-- Test 3: Testing -minRow option on MAF File -->
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
99 <test expect_num_outputs="1">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
100 <param name="input_maf" value="filter_in.maf"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
101 <param name="minRow" value="3"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
102 <output name="output_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
103 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
104 <has_n_lines n="25"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
105 <not_has_text text="a score=500.0"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
106 <not_has_text text="s human.chr2 150 5 + 1000 ACGTA"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
107 <not_has_text text="s mouse.chr2 250 5 + 2000 ACGT-"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
108 <not_has_text text="a score=50.0"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
109 <not_has_text text="s human.chr4 110 10 + 1000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
110 <not_has_text text="s mouse.chr4 210 10 + 2000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
111 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
112 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
113 </test>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
114 <!-- Test 4: Testing -maxRow option on MAF File -->
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
115 <test expect_num_outputs="1">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
116 <param name="input_maf" value="filter_in.maf"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
117 <param name="maxRow" value="4"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
118 <output name="output_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
119 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
120 <has_n_lines n="25"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
121 <has_line line="a score=50.000000"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
122 <has_line line="s human.chr4 110 10 + 1000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
123 <has_line line="s mouse.chr4 210 10 + 2000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
124 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
125 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
126 </test>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
127 <!-- Test 5: Testing -factor and -minFactor option on MAF File -->
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
128 <test expect_num_outputs="1">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
129 <param name="input_maf" value="filter_in.maf"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
130 <conditional name="factor_options">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
131 <param name="factor_enabled" value="yes"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
132 <param name="minFactor" value="5"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
133 </conditional>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
134 <output name="output_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
135 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
136 <has_n_lines n="33"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
137 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
138 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
139 </test>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
140 <!-- Test 6: Testing -minScore option on MAF File -->
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
141 <test expect_num_outputs="1">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
142 <param name="input_maf" value="filter_in.maf"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
143 <param name="minScore" value="500"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
144 <output name="output_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
145 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
146 <has_n_lines n="23"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
147 <not_has_text text="a score=50.0"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
148 <not_has_text text="s human.chr4 110 10 + 1000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
149 <not_has_text text="s mouse.chr4 210 10 + 2000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
150 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
151 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
152 </test>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
153 <!-- Test 7: Testing -reject option on MAF File -->
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
154 <test expect_num_outputs="2">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
155 <param name="input_maf" value="filter_in.maf"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
156 <param name="minScore" value="500"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
157 <param name="reject" value="true"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
158 <output name="output_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
159 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
160 <has_n_lines n="23"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
161 <not_has_text text="a score=50.0"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
162 <not_has_text text="s human.chr4 110 10 + 1000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
163 <not_has_text text="s mouse.chr4 210 10 + 2000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
164 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
165 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
166 <output name="rejected_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
167 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
168 <has_n_lines n="11"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
169 <has_line line="a score=50.000000"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
170 <has_line line="s human.chr4 110 10 + 1000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
171 <has_line line="s mouse.chr4 210 10 + 2000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
172 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
173 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
174 </test>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
175 <!-- Test 8: Testing -needComp option on MAF File -->
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
176 <test expect_num_outputs="1">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
177 <param name="input_maf" value="filter_in.maf"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
178 <param name="needComp" value="human.chr1"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
179 <output name="output_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
180 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
181 <has_n_lines n="6"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
182 <has_text text="a score=1000.000000"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
183 <has_text text="s human.chr1 100 10 + 1000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
184 <has_text text="s mouse.chr1 200 10 + 2000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
185 <has_text text="s dog.chr1 300 10 + 3000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
186 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
187 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
188 </test>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
189 <!-- Test 9: Testing -componentFilter option on MAF File -->
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
190 <test expect_num_outputs="1">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
191 <param name="input_maf" value="filter_in.maf"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
192 <param name="componentFilter" value="componentFilter.txt"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
193 <output name="output_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
194 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
195 <has_n_lines n="6"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
196 <has_text text="a score=1000.000000"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
197 <has_text text="s human.chr1 100 10 + 1000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
198 <has_text text="s mouse.chr1 200 10 + 2000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
199 <has_text text="s dog.chr1 300 10 + 3000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
200 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
201 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
202 </test>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
203 <!-- Test 10: Testing -speciesFiler option on MAF File -->
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
204 <test expect_num_outputs="1">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
205 <param name="input_maf" value="filter_in.maf"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
206 <param name="speciesFilter" value="speciesFilter.txt"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
207 <output name="output_maf" ftype="maf">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
208 <assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
209 <has_n_lines n="25"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
210 <has_text text="a score=1000.000000"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
211 <not_has_text text="a score=500.0"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
212 <not_has_text text="s human.chr2 150 5 + 1000 ACGTA"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
213 <not_has_text text="s mouse.chr2 250 5 + 2000 ACGT-"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
214 <not_has_text text="a score=50.0"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
215 <not_has_text text="s human.chr4 110 10 + 1000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
216 <not_has_text text="s mouse.chr4 210 10 + 2000 ACGTACGTAC"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
217 </assert_contents>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
218 </output>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
219 </test>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
220 </tests>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
221 <help><![CDATA[
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
222 **mafFilter**
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
223
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
224 Filters MAF (Multiple Alignment Format) files based on specified criteria. The filtered output is written to a new MAF file, and optionally, rejected blocks are saved to a separate file.
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
225
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
226 **Options:**
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
227
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
228 - **Tolerate bad input**: Ignore bad input instead of aborting.
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
229 - **Minimum columns**: Filter out blocks with fewer than the specified number of columns (default: 1).
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
230 - **Minimum rows**: Filter out blocks with fewer than the specified number of rows (default: 2).
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
231 - **Maximum rows**: Filter out blocks with more than or equal to the specified number of rows (default: 100).
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
232 - **Factor-based score filtering**: Filter out scores below `-minFactor * (ncol^2) * nrow`.
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
233 - **Minimum factor**: Factor to use with factor-based score filtering (default: 5).
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
234 - **Minimum score**: Minimum allowed score (alternative to factor-based filtering).
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
235 - **Rejected blocks output file**: Save rejected blocks to the specified file.
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
236 - **Required species component**: All alignments must include the specified species as a component.
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
237 - **Reject overlapping blocks**: Reject overlapping blocks in the reference (assumes ordered blocks).
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
238 - **Component filter file**: Filter out blocks without a component listed in the provided file.
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
239 - **Species filter file**: Filter out blocks without a species listed in the provided file.
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
240
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
241 ]]></help>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
242 <citations>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
243 <citation type="bibtex">
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
244 @misc{mafFilter,
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
245 author = {Kent UCSC},
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
246 title = {mafFilter: A tool for filtering MAF files},
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
247 note = {Tool for filtering Multiple Alignment Format files}
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
248 }
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
249 </citation>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
250 </citations>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
251 <creator>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
252 <person givenName="Saim" familyName="Momin" url="https://github.com/SaimMomin12"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
253 <organization name="Galaxy Europe" url="https://galaxyproject.org/eu/"/>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
254 </creator>
9137408d4634 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/ucsc_tools/maftools commit 62876fcda4bf5b365ef9c1bee10d611dda5453a9
iuc
parents:
diff changeset
255 </tool>