# HG changeset patch # User petr-novak # Date 1581073607 18000 # Node ID 62fefa28403670f27d97a9db2411986e989512fb # Parent f12eb38968428fb78baa2954b1e4f3bab20c408c Uploaded diff -r f12eb3896842 -r 62fefa284036 RM_custom_search.py --- a/RM_custom_search.py Fri Feb 07 02:25:47 2020 -0500 +++ b/RM_custom_search.py Fri Feb 07 06:06:47 2020 -0500 @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python ''' RepeatMasker search against custom database input: - archive with sequencing data @@ -57,7 +57,7 @@ def summarizeRepeatMaskerOutput(htmlout = "summary.html"): cmd = os.path.dirname(os.path.abspath(__file__))+"/rmsk_summary_table_multiple.r" - args = [ cmd, "-f", "dir_CL*/reads.fas", "-r", "dir_CL*/reads.fas.out", "-o", "RM-custom_output_table" ] + args = [ cmd, "dir_CL*/reads.fas", "dir_CL*/reads.fas.out", "RM-custom_output_table" ] status=subprocess.call(args) cmd = cmd = os.path.dirname(os.path.abspath(__file__))+"/RM_html_report.R" args = [cmd, htmlout] diff -r f12eb3896842 -r 62fefa284036 RM_custom_search.xml --- a/RM_custom_search.xml Fri Feb 07 02:25:47 2020 -0500 +++ b/RM_custom_search.xml Fri Feb 07 06:06:47 2020 -0500 @@ -1,15 +1,17 @@ - + Scan clustering results using RepeatMasker against custom database of repeats repeatmasker - r-r2html - r-getopt - bioconductor-biostrings + python + r-r2html + bioconductor-biostrings - - RM_custom_search.py -i $input_zip -d $RMdatabase -g $__root_dir__ -r $output_html + + + python3 ${__tool_directory__}/RM_custom_search.py -i $input_zip -d $RMdatabase -g $__root_dir__ -r $output_html; + diff -r f12eb3896842 -r 62fefa284036 rmsk_summary_table_multiple.r --- a/rmsk_summary_table_multiple.r Fri Feb 07 02:25:47 2020 -0500 +++ b/rmsk_summary_table_multiple.r Fri Feb 07 06:06:47 2020 -0500 @@ -3,19 +3,12 @@ # analysis of *.out file # input arguments: