Skip to content

Commit

Permalink
Maker: add an option to warn users about license (as asked by authors…
Browse files Browse the repository at this point in the history
  • Loading branch information
abretaud committed Feb 8, 2022
1 parent 42a0483 commit 4bdfa9a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tools/maker/macros.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</requirements>
</xml>
<token name="@VERSION@">2.31.11</token>
<token name="@SUFFIX_VERSION@">1</token>
<token name="@SUFFIX_VERSION@">2</token>

<xml name="citations">
<citations>
Expand Down
15 changes: 15 additions & 0 deletions tools/maker/maker.xml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,12 @@ TMP= # specify a directory other than the system default temporary directory for
</configfiles>

<inputs>
<!-- More info on licensing in https://github.com/galaxyproject/iwc/pull/47#issuecomment-962260646 -->
<param name="license_agreement" type="boolean" label="Are you running Maker for academic use, or did you purchase a license?"
help="The MAKER authors specifically allowed to make it available on Galaxy. MAKER is free for academic use, but commercial Galaxy users of MAKER still need a license, which can be obtained at http://weatherby.genetics.utah.edu/cgi-bin/registration/maker_license.cgi">
<validator type="expression" message="You must either run Maker for academic use, or purchase a license.">True == value</validator>
</param>

<param name="genome" type="data" format="fasta" label="Genome to annotate"/>
<param name="organism_type" type="select" label="Organism type">
<option value="eukaryotic">Eukaryotic</option>
Expand Down Expand Up @@ -492,6 +498,7 @@ TMP= # specify a directory other than the system default temporary directory for
</outputs>
<tests>
<test>
<param name="license_agreement" value="true" />
<param name="genome" value="genome.fasta"/>
<param name="est_evidences|est" value="est.fasta"/>
<param name="est_evidences|est2genome" value="1"/>
Expand All @@ -500,6 +507,7 @@ TMP= # specify a directory other than the system default temporary directory for
<output name="output_evidences" file="evidences.gff3" compare="sim_size"/>
</test>
<test>
<param name="license_agreement" value="true" />
<param name="genome" value="genome.fasta"/>
<param name="organism_type" value="prokaryotic"/>
<param name="est_evidences|est" value="est.fasta"/>
Expand All @@ -509,6 +517,7 @@ TMP= # specify a directory other than the system default temporary directory for
<output name="output_evidences" file="evidences_proc.gff3" compare="sim_size"/>
</test>
<test>
<param name="license_agreement" value="true" />
<param name="genome" value="genome.fasta"/>
<param name="reannotation|reannotate" value="yes"/>
<param name="reannotation|maker_gff" value="evidences.gff3"/>
Expand All @@ -519,6 +528,7 @@ TMP= # specify a directory other than the system default temporary directory for
<output name="output_evidences" file="evidences_reuse.gff3" compare="sim_size"/>
</test>
<test>
<param name="license_agreement" value="true" />
<param name="genome" value="genome.fasta"/>
<param name="abinitio_gene_prediction|snaphmm" value="snap.hmm"/>
<param name="abinitio_gene_prediction|aug_prediction|augustus_mode" value="builtin"/>
Expand All @@ -530,6 +540,7 @@ TMP= # specify a directory other than the system default temporary directory for
<output name="output_evidences" file="evidences_human.gff3" compare="sim_size"/>
</test>
<test>
<param name="license_agreement" value="true" />
<param name="genome" value="genome.fasta"/>
<param name="abinitio_gene_prediction|snaphmm" value="snap.hmm"/>
<param name="abinitio_gene_prediction|aug_prediction|augustus_mode" value="history"/>
Expand All @@ -541,6 +552,7 @@ TMP= # specify a directory other than the system default temporary directory for
<output name="output_evidences" file="evidences_model.gff3" compare="sim_size"/>
</test>
<test>
<param name="license_agreement" value="true" />
<param name="genome" value="genome.fasta"/>
<param name="est_evidences|est" value="est.fasta"/>
<param name="est_evidences|est2genome" value="1"/>
Expand All @@ -549,6 +561,7 @@ TMP= # specify a directory other than the system default temporary directory for
<output name="output_evidences" file="evidences_norm.gff3" compare="sim_size"/>
</test>
<test>
<param name="license_agreement" value="true" />
<param name="genome" value="genome.fasta"/>
<param name="est_evidences|est" value="est.fasta"/>
<param name="est_evidences|est2genome" value="1"/>
Expand All @@ -558,6 +571,7 @@ TMP= # specify a directory other than the system default temporary directory for
<output name="output_evidences" file="evidences_norm.gff3" compare="sim_size"/>
</test>
<test>
<param name="license_agreement" value="true" />
<param name="genome" value="genome.fasta"/>
<param name="est_evidences|est" value="est.fasta"/>
<param name="est_evidences|est2genome" value="1"/>
Expand All @@ -568,6 +582,7 @@ TMP= # specify a directory other than the system default temporary directory for
<output name="output_evidences" file="evidences_norm_dfam_up.gff3" compare="sim_size"/>
</test>
<test>
<param name="license_agreement" value="true" />
<param name="genome" value="genome.fasta"/>
<param name="est_evidences|est" value="non_IUPAC.fasta"/>
<param name="est_evidences|est2genome" value="1"/>
Expand Down

0 comments on commit 4bdfa9a

Please sign in to comment.