# HG changeset patch
# User bgruening
# Date 1524999832 14400
# Node ID 889682a276f6cd4e0f56de8d5b5909e8550070ac
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/repeat_masker commit 172dab2fc73fcce3ae7df19286b48848af9033d2-dirty
diff -r 000000000000 -r 889682a276f6 RepeatMasker.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/RepeatMasker.xml Sun Apr 29 07:03:52 2018 -0400
@@ -0,0 +1,321 @@
+
+ Masks different kind of repeats
+
+ RepeatMasker
+
+
+&1;
+
+## Copy the output files to galaxy
+## AgR: if there are no repeats, the output files may not exist.
+## This causes the job to fail, so touch files to ensure they exist.
+#if $adv_opts.adv_opts_selector=="advanced":
+
+ #if "summary" in $output_files_list:
+ ## Write out the summary file (default)
+ #set $summary_file = $output_basename + '.tbl'
+ touch $summary_file;
+ cp $summary_file $output_summary;
+ #end if
+
+ #if "gff" in $output_files_list:
+ ## Write out the gff file (default)
+ #set $gff_file = $output_basename + '.out.gff'
+ touch $gff_file;
+ cp $gff_file $output_gff;
+ #end if
+
+ #if "html" in $output_files_list:
+ ## Write out the html file
+ #set $html_file = $output_basename + '.out.html'
+ touch $html_file;
+ cp $html_file $output_html;
+ #end if
+
+#else:
+
+ ## Write out the summary file (default)
+ #set $summary_file = $output_basename + '.tbl'
+ touch $summary_file;
+ cp $summary_file $output_summary;
+
+ ## Write out the gff file (default)
+ #set $gff_file = $output_basename + '.out.gff'
+ touch $gff_file;
+ cp $gff_file $output_gff;
+
+
+## End of advanced options:
+#end if
+
+## Write out mask sequence file
+#set $mask_sequence_file = $output_basename + '.masked'
+touch $mask_sequence_file;
+cp $mask_sequence_file $output_mask;
+
+## Write out standard file (default)
+## The default '.out' file from RepeatMasker has a 3-line header and spaces rather
+## than tabs. Remove the header and replace the whitespaces with tab
+#set $standard_file = $output_basename + '.out'
+tail -n +4 $standard_file | tr -s ' ' '\t' > $output_std;
+
+## Delete all temporary files
+rm $dirname -r
+
+]]>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ (adv_opts['adv_opts_selector'] == 'advanced' and 'mask' in adv_opts['output_files'])
+
+
+
+ (
+ (adv_opts['adv_opts_selector'] == 'advanced' and 'summary' in adv_opts['output_files'])
+ or
+ (adv_opts['adv_opts_selector'] == 'basic')
+ )
+
+
+
+ (adv_opts['adv_opts_selector'] == 'advanced' and 'html' in adv_opts['output_files'])
+
+
+
+ (adv_opts['adv_opts_selector'] == 'advanced' and 'gff' in adv_opts['output_files'])
+
+
+
+
+
+
+
diff -r 000000000000 -r 889682a276f6 readme.rst
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/readme.rst Sun Apr 29 07:03:52 2018 -0400
@@ -0,0 +1,63 @@
+===============================
+Galaxy wrapper for RepeatMasker
+===============================
+
+This wrapper is copyright 2013 by Björn Grüning.
+
+This is a wrapper for the command line tool of RepeatMasker from the Institute for Systems Biology.
+http://www.repeatmasker.org/
+
+
+Smit, AFA, Hubley, R & Green, P. RepeatMasker Open-3.0.
+1996-2010 .
+
+
+Additional Information:
+Using RepeatMasker to identify repetitive elements in genomic sequences.
+http://www.ncbi.nlm.nih.gov/pubmed/19274634
+
+============
+Installation
+============
+
+To install RepeatMasker, please use the following instructions:
+
+http://www.repeatmasker.org/RMDownload.html
+
+To install the wrapper copy the file RepeatMasker.xml in the galaxy tools
+folder and modify the tools_conf.xml file to make the tool available to Galaxy.
+Add a line like the following:
+
+Add the tool definition to your tool_conf.xml file under Galaxy root.
+
+
+=======
+History
+=======
+
+- v1.1: Initial public release
+- v0.1.1: patch from Simon Guest, to create empty files if no repeat is found
+- v0.1.2: remove trailing semicolon, redirect all output to stdout
+
+===============================
+Wrapper Licence (MIT/BSD style)
+===============================
+
+Permission to use, copy, modify, and distribute this software and its
+documentation with or without modifications and for any purpose and
+without fee is hereby granted, provided that any copyright notices
+appear in all copies and that both those copyright notices and this
+permission notice appear in supporting documentation, and that the
+names of the contributors or copyright holders not be used in
+advertising or publicity pertaining to distribution of the software
+without specific prior permission.
+
+THE CONTRIBUTORS AND COPYRIGHT HOLDERS OF THIS SOFTWARE DISCLAIM ALL
+WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE
+CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT
+OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
+OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
+OR PERFORMANCE OF THIS SOFTWARE.
+