Skip to content

Commit

Permalink
Merge branch 'bwoutzerosept30' of github.com:fubar2/tools-iuc into bw…
Browse files Browse the repository at this point in the history
…outzerosept30
  • Loading branch information
fubar2 committed Sep 30, 2024
2 parents de577b0 + 6eea952 commit 7169054
Show file tree
Hide file tree
Showing 18 changed files with 43 additions and 46 deletions.
3 changes: 0 additions & 3 deletions tool_collections/snpeff/.lint_skip

This file was deleted.

28 changes: 17 additions & 11 deletions tool_collections/snpeff/snpEff.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,6 @@
</when>
<when value="history">
<param name="snpeff_db" type="data" format="snpeffdb" label="@SNPEFF_VERSION@ Genome Data">
<options options_filter_attribute="metadata.snpeff_version" >
<filter type="add_value" value="@SNPEFF_VERSION@" />
</options>
<validator type="expression" message="This version of SnpEff will only work with @SNPEFF_VERSION@ genome databases">value is not None and value.metadata.snpeff_version == "@SNPEFF_VERSION@"</validator>
</param>
<section name="reg_section" expanded="false" title="Regulation options">
Expand All @@ -181,9 +178,6 @@
</when>
<when value="custom">
<param name="snpeff_db" type="data" format="snpeffdb" label="@SNPEFF_VERSION@ Genome Data">
<options options_filter_attribute="metadata.snpeff_version" >
<filter type="add_value" value="@SNPEFF_VERSION@" />
</options>
<validator type="expression" message="This version of SnpEff will only work with @SNPEFF_VERSION@ genome databases">value is not None and value.metadata.snpeff_version == "@SNPEFF_VERSION@"</validator>
</param>
<param name="codon_table" type="select" label="Select genetic code for this sequence" help="If this sequence uses non-standard genetic code, select one from these options">
Expand Down Expand Up @@ -364,30 +358,35 @@
</change_format>
</data>
<data name="statsFile" format="html" label="${tool.name} on ${on_string} - HTML stats">
<filter>generate_stats == True</filter>
<filter>generate_stats</filter>
</data>
<data name="csvFile" format="csv" label="${tool.name} on ${on_string} - CSV stats">
<filter>csvStats == True</filter>
<filter>csvStats</filter>
</data>
</outputs>
<tests>
<test>
<test expect_num_outputs="2">
<param name="input" ftype="vcf" value="input.vcf"/>
<param name="inputFormat" value="vcf"/>
<param name="outputFormat" value="vcf"/>
<param name="genomeSrc" value="named"/>
<param name="genome_version" value="ebola_zaire"/>
<param name="udLength" value="0"/>
<param name="generate_stats" value="false"/>
<param name="generate_stats" value="true"/>
<output name="snpeff_output">
<assert_contents>
<has_text_matching expression="KJ660346\t572\t.*missense_variant" />
<has_text_matching expression="KJ660346\t1024\t.*synonymous_variant" />
</assert_contents>
</output>
<output name="statsFile">
<assert_contents>
<has_text text="&lt;b&gt;"/>
</assert_contents>
</output>
</test>
<!-- Test interval option-->
<test>
<test expect_num_outputs="2">
<param name="input" ftype="vcf" value="input.vcf"/>
<param name="inputFormat" value="vcf"/>
<param name="outputFormat" value="vcf"/>
Expand All @@ -396,12 +395,19 @@
<param name="genome_version" value="ebola_zaire"/>
<param name="udLength" value="0"/>
<param name="generate_stats" value="false"/>
<param name="csvStats" value="true"/>
<output name="snpeff_output">
<assert_contents>
<has_text_matching expression="KJ660346\t572\t.*missense_variant" />
<has_text_matching expression="KJ660346\t1024\t.*synonymous_variant" />
</assert_contents>
</output>
<output name="csvFile">
<assert_contents>
<has_n_lines n="185"/>
<has_n_columns n="1" sep=","/>
</assert_contents>
</output>
</test>
</tests>
<help><![CDATA[
Expand Down
10 changes: 5 additions & 5 deletions tool_collections/snpeff/snpEff_create_db.xml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
</data>
</outputs>
<tests>
<test>
<test expect_num_outputs="2">
<param name="genome_version" value="pBR322"/>
<param name="input_type_selector" value="gb"/>
<param name="input" value="pBR322.gbk" />
Expand All @@ -135,7 +135,7 @@
</output>
<output name="output_fasta" value="pBR322_test1.fna"/>
</test>
<test>
<test expect_num_outputs="2">
<param name="genome_version" value="pBR322"/>
<param name="input_type_selector" value="gb"/>
<param name="input" value="pBR322.gbk.gz" />
Expand All @@ -146,7 +146,7 @@
</output>
<output name="output_fasta" value="pBR322_test1.fna"/>
</test>
<test>
<test expect_num_outputs="1">
<param name="genome_version" value="pBR322"/>
<param name="input_type_selector" value="gff"/>
<param name="reference_source_selector" value="history"/>
Expand All @@ -158,7 +158,7 @@
</assert_contents>
</output>
</test>
<test>
<test expect_num_outputs="1">
<param name="genome_version" value="pBR322"/>
<param name="input_type_selector" value="gff"/>
<param name="reference_source_selector" value="history"/>
Expand All @@ -170,7 +170,7 @@
</assert_contents>
</output>
</test>
<test>
<test expect_num_outputs="1">
<param name="genome_version" value="Saccharomyces_mito"/>
<param name="input_type_selector" value="gtf"/>
<param name="reference_source_selector" value="history"/>
Expand Down
6 changes: 0 additions & 6 deletions tool_collections/snpeff/snpeff_get_chr_names.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
<when value="history">
<param name="snpeff_db" type="data" format="snpeffdb" label="@SNPEFF_VERSION@ Genome Data">
<help>This can only be used on databases in your history that were downloaded using the snpEff download tool.</help>
<options options_filter_attribute="metadata.snpeff_version" >
<filter type="add_value" value="@SNPEFF_VERSION@" />
</options>
<validator type="expression" message="This version of SnpEff will only work with @SNPEFF_VERSION@ genome databases">value is not None and value.metadata.snpeff_version == "@SNPEFF_VERSION@"</validator>
</param>
</when>
Expand All @@ -65,9 +62,6 @@
<when value="custom">
<param name="snpeff_db" type="data" format="snpeffdb" label="@SNPEFF_VERSION@ Genome Data">
<help>This can only be used on databases in your history that were created using the snpEff build tool.</help>
<options options_filter_attribute="metadata.snpeff_version" >
<filter type="add_value" value="@SNPEFF_VERSION@" />
</options>
<validator type="expression" message="This version of SnpEff will only work with @SNPEFF_VERSION@ genome databases">value is not None and value.metadata.snpeff_version == "@SNPEFF_VERSION@"</validator>
</param>
</when>
Expand Down
2 changes: 1 addition & 1 deletion tools/gtdbtk/gtdbtk_classify_wf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $advanced.force
<param name="input" type="data" format="fasta,fasta.gz" multiple="true" label="Fasta (Genome) files"/>
<param name="gtdbtk_db" type="select" label="GTDB-Tk database" help="This version of GTDB-Tk requires GTDB version 207 or 214. Please contact your service administrator if this version is not available to select.">
<options from_data_table="gtdbtk_database_versioned">
<filter type="regexp" column="version" value="^2(07|14)$"/>
<filter type="regexp" column="version" value="^220$"/>
<validator type="no_options" message="No locally cached GTDB-Tk database is available"/>
</options>
</param>
Expand Down
4 changes: 2 additions & 2 deletions tools/gtdbtk/macros.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<macros>
<token name="@TOOL_VERSION@">2.3.2</token>
<token name="@VERSION_SUFFIX@">5</token>
<token name="@TOOL_VERSION@">2.4.0</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@PROFILE@">22.05</token>
<xml name="requirements">
<requirements>
Expand Down
4 changes: 2 additions & 2 deletions tools/sinto/macros.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<macros>
<token name="@TOOL_VERSION@">0.9.0</token>
<token name="@VERSION_SUFFIX@">1</token>
<token name="@TOOL_VERSION@">0.10.1</token>
<token name="@VERSION_SUFFIX@">0</token>

<xml name="citations">
<citations>
Expand Down
2 changes: 1 addition & 1 deletion tools/tn93/macros.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<macros>
<token name="@TOOL_VERSION@">1.0.6</token>
<token name="@TOOL_VERSION@">1.0.14</token>
<xml name="requirements">
<requirements>
<requirement type="package" version="@TOOL_VERSION@">tn93</requirement>
Expand Down
2 changes: 1 addition & 1 deletion tools/tn93/readreduce.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="tn93_readreduce" name="Merge matching reads" version="@TOOL_VERSION@+galaxy1">
<tool id="tn93_readreduce" name="Merge matching reads" version="@TOOL_VERSION@+galaxy0">
<description>into clusters with TN-93</description>
<macros>
<import>macros.xml</import>
Expand Down
2 changes: 1 addition & 1 deletion tools/tn93/tn93.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="tn93" name="TN93" version="@TOOL_VERSION@+galaxy1">
<tool id="tn93" name="TN93" version="@TOOL_VERSION@+galaxy0">
<description>compute distances between aligned sequences</description>
<macros>
<import>macros.xml</import>
Expand Down
2 changes: 1 addition & 1 deletion tools/tn93/tn93_cluster.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<tool id="tn93_cluster" name="TN93 Cluster" version="@TOOL_VERSION@+galaxy1">
<tool id="tn93_cluster" name="TN93 Cluster" version="@TOOL_VERSION@+galaxy0">
<description>sequences that lie within a specific distance of each other</description>
<macros>
<import>macros.xml</import>
Expand Down
4 changes: 2 additions & 2 deletions tools/tn93/tn93_filter.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<tool id="tn93_filter" name="TN93 Filter" version="@TOOL_VERSION@+galaxy1">
<tool id="tn93_filter" name="TN93 Filter" version="@TOOL_VERSION@+galaxy0">
<description>- remove sequences from a reference that are within a given distance of of a cluster</description>
<macros>
<import>macros.xml</import>
</macros>
<expand macro="requirements">
<requirement type="package" version="1.70">biopython</requirement>
<requirement type="package" version="1.84">biopython</requirement>
</expand>
<version_command><![CDATA[tn93 --version]]></version_command>
<command detect_errors="exit_code"><![CDATA[
Expand Down
6 changes: 3 additions & 3 deletions tools/tximport/tximport.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<tool id="tximport" name="tximport" version="@TOOL_VERSION@" profile="20.09">
<macros>
<token name="@TOOL_VERSION@">1.22.0</token>
<token name="@TOOL_VERSION@">1.30.0</token>
</macros>
<description>Summarize transcript-level estimates for gene-level analysis</description>
<xrefs>
Expand All @@ -9,8 +9,8 @@
</xrefs>
<requirements>
<requirement type="package" version="@TOOL_VERSION@">bioconductor-tximport</requirement>
<requirement type="package" version="1.46.1">bioconductor-genomicfeatures</requirement>
<requirement type="package" version="1.20.3">r-getopt</requirement>
<requirement type="package" version="1.54.1">bioconductor-genomicfeatures</requirement>
<requirement type="package" version="1.20.4">r-getopt</requirement>
</requirements>

<stdio>
Expand Down
4 changes: 2 additions & 2 deletions tools/ucsc_blat/blat.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<tool id="ucsc_blat" name="UCSC BLAT Alignment Tool" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
<description>BLAST-like sequence alignment tool</description>
<macros>
<token name="@TOOL_VERSION@">377</token>
<token name="@VERSION_SUFFIX@">2</token>
<token name="@TOOL_VERSION@">469</token>
<token name="@VERSION_SUFFIX@">0</token>

<xml name="mask_cond" tokens="maskarg,label,help">
<conditional name="@MASKARG@_type">
Expand Down
2 changes: 1 addition & 1 deletion tools/ucsc_tools/ucsc_chainsort/chainsort.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Sort chains
</description>
<macros>
<token name="@TOOL_VERSION@">455</token>
<token name="@TOOL_VERSION@">469</token>
</macros>
<xrefs>
<xref type="bio.tools">UCSC_Genome_Browser_Utilities</xref>
Expand Down
4 changes: 2 additions & 2 deletions tools/umi_tools/macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

<!-- macros applying to all umi_tools -->

<token name="@TOOL_VERSION@">1.1.2</token>
<token name="@VERSION_SUFFIX@">2</token>
<token name="@TOOL_VERSION@">1.1.5</token>
<token name="@VERSION_SUFFIX@">0</token>
<token name="@PROFILE@">21.01</token>
<xml name="requirements">
<requirements>
Expand Down
2 changes: 1 addition & 1 deletion tools/umi_tools/umi-tools_dedup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<import>macros.xml</import>
</macros>
<expand macro="requirements">
<requirement type="package" version="1.12">samtools</requirement>
<requirement type="package" version="1.21">samtools</requirement>
</expand>
<command detect_errors="exit_code"><![CDATA[
@LINK_SAM_BAM_INPUT@
Expand Down
2 changes: 1 addition & 1 deletion tools/umi_tools/umi-tools_group.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<import>macros.xml</import>
</macros>
<expand macro="requirements">
<requirement type="package" version="1.12">samtools</requirement>
<requirement type="package" version="1.21">samtools</requirement>
</expand>
<command detect_errors="exit_code"><![CDATA[
@LINK_SAM_BAM_INPUT@
Expand Down

0 comments on commit 7169054

Please sign in to comment.