Previous changeset 10:19fb3846b0cf (2016-03-15) Next changeset 12:f48b1312b6dd (2016-03-16) |
Commit message:
Deleted selected files |
removed:
prohits_dotplot_generator/Dotplot_Release.tar.gz prohits_dotplot_generator/GNU Free Documentation License.txt prohits_dotplot_generator/ProHits_DotPlot_Generator.py prohits_dotplot_generator/ProHits_DotPlot_Generator.xml prohits_dotplot_generator/tool_dependencies.xml |
b |
diff -r 19fb3846b0cf -r 89783b79ef25 prohits_dotplot_generator/Dotplot_Release.tar.gz |
b |
Binary file prohits_dotplot_generator/Dotplot_Release.tar.gz has changed |
b |
diff -r 19fb3846b0cf -r 89783b79ef25 prohits_dotplot_generator/GNU Free Documentation License.txt --- a/prohits_dotplot_generator/GNU Free Documentation License.txt Tue Mar 15 16:45:20 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
b |
b'@@ -1,451 +0,0 @@\n-\r\n- GNU Free Documentation License\r\n- Version 1.3, 3 November 2008\r\n-\r\n-\r\n- Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.\r\n- <http://fsf.org/>\r\n- Everyone is permitted to copy and distribute verbatim copies\r\n- of this license document, but changing it is not allowed.\r\n-\r\n-0. PREAMBLE\r\n-\r\n-The purpose of this License is to make a manual, textbook, or other\r\n-functional and useful document "free" in the sense of freedom: to\r\n-assure everyone the effective freedom to copy and redistribute it,\r\n-with or without modifying it, either commercially or noncommercially.\r\n-Secondarily, this License preserves for the author and publisher a way\r\n-to get credit for their work, while not being considered responsible\r\n-for modifications made by others.\r\n-\r\n-This License is a kind of "copyleft", which means that derivative\r\n-works of the document must themselves be free in the same sense. It\r\n-complements the GNU General Public License, which is a copyleft\r\n-license designed for free software.\r\n-\r\n-We have designed this License in order to use it for manuals for free\r\n-software, because free software needs free documentation: a free\r\n-program should come with manuals providing the same freedoms that the\r\n-software does. But this License is not limited to software manuals;\r\n-it can be used for any textual work, regardless of subject matter or\r\n-whether it is published as a printed book. We recommend this License\r\n-principally for works whose purpose is instruction or reference.\r\n-\r\n-\r\n-1. APPLICABILITY AND DEFINITIONS\r\n-\r\n-This License applies to any manual or other work, in any medium, that\r\n-contains a notice placed by the copyright holder saying it can be\r\n-distributed under the terms of this License. Such a notice grants a\r\n-world-wide, royalty-free license, unlimited in duration, to use that\r\n-work under the conditions stated herein. The "Document", below,\r\n-refers to any such manual or work. Any member of the public is a\r\n-licensee, and is addressed as "you". You accept the license if you\r\n-copy, modify or distribute the work in a way requiring permission\r\n-under copyright law.\r\n-\r\n-A "Modified Version" of the Document means any work containing the\r\n-Document or a portion of it, either copied verbatim, or with\r\n-modifications and/or translated into another language.\r\n-\r\n-A "Secondary Section" is a named appendix or a front-matter section of\r\n-the Document that deals exclusively with the relationship of the\r\n-publishers or authors of the Document to the Document\'s overall\r\n-subject (or to related matters) and contains nothing that could fall\r\n-directly within that overall subject. (Thus, if the Document is in\r\n-part a textbook of mathematics, a Secondary Section may not explain\r\n-any mathematics.) The relationship could be a matter of historical\r\n-connection with the subject or with related matters, or of legal,\r\n-commercial, philosophical, ethical or political position regarding\r\n-them.\r\n-\r\n-The "Invariant Sections" are certain Secondary Sections whose titles\r\n-are designated, as being those of Invariant Sections, in the notice\r\n-that says that the Document is released under this License. If a\r\n-section does not fit the above definition of Secondary then it is not\r\n-allowed to be designated as Invariant. The Document may contain zero\r\n-Invariant Sections. If the Document does not identify any Invariant\r\n-Sections then there are none.\r\n-\r\n-The "Cover Texts" are certain short passages of text that are listed,\r\n-as Front-Cover Texts or Back-Cover Texts, in the notice that says that\r\n-the Document is released under this License. A Front-Cover Text may\r\n-be at most 5 words, and a Back-Cover Text may be at most 25 words.\r\n-\r\n-A "Transparent" copy of the Document means a machine-readable copy,\r\n-represented in a format whose specification is available to the\r\n-general public, that is suitable for revising the document\r\n-straightforwardly with generic '..b' copy of some or all of the same material does\r\n-not give you any rights to use it.\r\n-\r\n-\r\n-10. FUTURE REVISIONS OF THIS LICENSE\r\n-\r\n-The Free Software Foundation may publish new, revised versions of the\r\n-GNU Free Documentation License from time to time. Such new versions\r\n-will be similar in spirit to the present version, but may differ in\r\n-detail to address new problems or concerns. See\r\n-http://www.gnu.org/copyleft/.\r\n-\r\n-Each version of the License is given a distinguishing version number.\r\n-If the Document specifies that a particular numbered version of this\r\n-License "or any later version" applies to it, you have the option of\r\n-following the terms and conditions either of that specified version or\r\n-of any later version that has been published (not as a draft) by the\r\n-Free Software Foundation. If the Document does not specify a version\r\n-number of this License, you may choose any version ever published (not\r\n-as a draft) by the Free Software Foundation. If the Document\r\n-specifies that a proxy can decide which future versions of this\r\n-License can be used, that proxy\'s public statement of acceptance of a\r\n-version permanently authorizes you to choose that version for the\r\n-Document.\r\n-\r\n-11. RELICENSING\r\n-\r\n-"Massive Multiauthor Collaboration Site" (or "MMC Site") means any\r\n-World Wide Web server that publishes copyrightable works and also\r\n-provides prominent facilities for anybody to edit those works. A\r\n-public wiki that anybody can edit is an example of such a server. A\r\n-"Massive Multiauthor Collaboration" (or "MMC") contained in the site\r\n-means any set of copyrightable works thus published on the MMC site.\r\n-\r\n-"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0 \r\n-license published by Creative Commons Corporation, a not-for-profit \r\n-corporation with a principal place of business in San Francisco, \r\n-California, as well as future copyleft versions of that license \r\n-published by that same organization.\r\n-\r\n-"Incorporate" means to publish or republish a Document, in whole or in \r\n-part, as part of another Document.\r\n-\r\n-An MMC is "eligible for relicensing" if it is licensed under this \r\n-License, and if all works that were first published under this License \r\n-somewhere other than this MMC, and subsequently incorporated in whole or \r\n-in part into the MMC, (1) had no cover texts or invariant sections, and \r\n-(2) were thus incorporated prior to November 1, 2008.\r\n-\r\n-The operator of an MMC Site may republish an MMC contained in the site\r\n-under CC-BY-SA on the same site at any time before August 1, 2009,\r\n-provided the MMC is eligible for relicensing.\r\n-\r\n-\r\n-ADDENDUM: How to use this License for your documents\r\n-\r\n-To use this License in a document you have written, include a copy of\r\n-the License in the document and put the following copyright and\r\n-license notices just after the title page:\r\n-\r\n- Copyright (c) YEAR YOUR NAME.\r\n- Permission is granted to copy, distribute and/or modify this document\r\n- under the terms of the GNU Free Documentation License, Version 1.3\r\n- or any later version published by the Free Software Foundation;\r\n- with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.\r\n- A copy of the license is included in the section entitled "GNU\r\n- Free Documentation License".\r\n-\r\n-If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,\r\n-replace the "with...Texts." line with this:\r\n-\r\n- with the Invariant Sections being LIST THEIR TITLES, with the\r\n- Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.\r\n-\r\n-If you have Invariant Sections without Cover Texts, or some other\r\n-combination of the three, merge those two alternatives to suit the\r\n-situation.\r\n-\r\n-If your document contains nontrivial examples of program code, we\r\n-recommend releasing these examples in parallel under your choice of\r\n-free software license, such as the GNU General Public License,\r\n-to permit their use in free software.\r\n' |
b |
diff -r 19fb3846b0cf -r 89783b79ef25 prohits_dotplot_generator/ProHits_DotPlot_Generator.py --- a/prohits_dotplot_generator/ProHits_DotPlot_Generator.py Tue Mar 15 16:45:20 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
[ |
@@ -1,56 +0,0 @@ -####################################################################################### -# Python-code: Dotplot Runner -# Author: Adam L Borne -# Contributers: Paul A Stewart, Brent Kuenzi -####################################################################################### -# This script runs the dotplot program found at http://prohitstools.mshri.on.ca/. -####################################################################################### -# Copyright (C) Adam Borne. -# Permission is granted to copy, distribute and/or modify this document -# under the terms of the GNU Free Documentation License, Version 1.3 -# or any later version published by the Free Software Foundation; -# with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. -# A copy of the license is included in the section entitled "GNU -# Free Documentation License". -####################################################################################### -## REQUIRED INPUT ## - -# 1) list_file: SaintExpress output file. -# 2) FDR1: Primary false discovery rate. (default = 0.01) -# 3) FDR2: Secondary false discovery rate. (default = 0.025) -# 4) spec_max: Maximum spectral count. (default = 50) -####################################################################################### -import os -import os -import sys - - -FDR1 = sys.argv[2] -FDR2 = sys.argv[3] -spec_max = sys.argv[4] -os.rename(sys.argv[1], "saint_input.txt") -ins_path = sys.argv[9] - -dirs_list = [] -for (dirpath, dirnames, filename) in os.walk(str(ins_path)): - dirs_list.extend(dirnames) - break -if r"Dotplot_Release" in dirs_list: - pass -else: - cmd = r"tar -xvf /Dotplot_Release.tar.gz " + str(ins_path) + "/Dotplot_Release.tar.gz" - os.system(cmd) - - -cmd = (str(ins_path) + r"Dotplot_Release/dotplot.bash -f saint_input.txt" + r" -c b -s " + str(FDR1) + - r" -t " + str(FDR2) + " -m " + str(spec_max)) -os.system(cmd) - -cmd1 = r"cp -a ./Output_saint_input/. ." -os.system(cmd1) - -os.rename("saint_input.txt", str(sys.argv[1])) -os.rename('dotplot.pdf', str(sys.argv[5])) -os.rename('bait2bait.pdf', str(sys.argv[6])) -os.rename('estimated.pdf', str(sys.argv[7])) -os.rename('stats.pdf', str(sys.argv[8])) \ No newline at end of file |
b |
diff -r 19fb3846b0cf -r 89783b79ef25 prohits_dotplot_generator/ProHits_DotPlot_Generator.xml --- a/prohits_dotplot_generator/ProHits_DotPlot_Generator.xml Tue Mar 15 16:45:20 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
b |
@@ -1,62 +0,0 @@ -<tool id="ProHits_DotPlot_Generator" name="ProHits DotPlot Generator"> - <description></description> - <command interpreter="python">ProHits_DotPlot_Generator.py $saint_file $FDR1 $FDR2 $spec_max $dotplot $heatmap $estimated $stats</command> - <requirements> - <requirement type="set_environment">INSTALL_RUN_PATH</requirement> - </requirements> - <inputs> - <param format="txt" name="saint_file" type="data" label="SAINT Output"/> - <param type="float" name="FDR1" label="False Discovery Rate 1" value="0.01"/> - <param type="float" name="FDR2" label="False Discovery Rate 2" value="0.025"/> - <param type="integer" name="spec_max" label="Maximum spectral count" value="50"/> - </inputs> - <outputs> - <data format="pdf" name="dotplot" label="DotPlot" /> - <data format="pdf" name="heatmap" label="Heatmap" /> - <data format="pdf" name="estimated" label="Estimated" /> - <data format="pdf" name="stats" label="Stats" /> - </outputs> - <stdio> - <regex match="Error|error" - source="stdout" - level="fatal" - description="Unknown error"/> - <regex match="Error|error" - source="stderr" - level="fatal" - description="Unknown error"/> - <regex match="Error: bad bait" - source="stdout" - level="fatal" - description="Error: bad bait"/> - </stdio> - - <tests> - <test> - <param name="input" value="fa_gc_content_input.fa"/> - <output name="out_file1" file="fa_gc_content_output.txt"/> - </test> - </tests> - <help> -**Running ProHits DotPlot** - -This runs the biclustering version of the DotPlot tool found at http://prohitstools.mshri.on.ca/. A more interactive version can be found at http://prohits-viz.lunenfeld.ca/. This script will take a long time to run. - -INPUTS: - -Saint Output: SAINTexpress generated "list.txt" file. - -Primary False Discovery Rate - -Secondary False Discovery Rate - -Maximum Spectral Count - ------- - -**Please cite** - - * Knight, J.D., Liu, G., Zhang, J., Pasculescu, A., Choi, H., and Gingras, A.-C. (2014) A web-tool for visualizing quantitative protein-protein interaction data. Proteomics, in press. PMID:25422071. - - </help> -</tool> \ No newline at end of file |
b |
diff -r 19fb3846b0cf -r 89783b79ef25 prohits_dotplot_generator/tool_dependencies.xml --- a/prohits_dotplot_generator/tool_dependencies.xml Tue Mar 15 16:45:20 2016 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
b |
@@ -1,6 +0,0 @@ -<?xml version="1.0"?> -<tool_dependency> - <set_environment version="1.0"> - <environment_variable name="INSTALL_RUN_PATH" action="set_to">$REPOSITORY_INSTALL_DIR</environment_variable> - </set_environment> -</tool_dependency> \ No newline at end of file |