/usr/share/pyshared/cogent/app/foldalign.py is in python-cogent 1.5.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #!/usr/bin/env python
"""Application controller for Foldalign v2.0.3 application
Foldalign takes two sequences as input, these sequences can be in the same
file(2) or separate files.
ex1 Foldalign file(2)
ex2 Foldalign seq1 seq2
"""
from cogent.app.util import CommandLineApplication,\
CommandLineAppResult, ResultPath
from cogent.app.parameters import Parameter, FlagParameter, ValuedParameter,\
MixedParameter,Parameters, _find_synonym, is_not_None
__author__ = "Shandy Wikman"
__copyright__ = "Copyright 2007-2012, The Cogent Project"
__contributors__ = ["Shandy Wikman"]
__license__ = "GPL"
__version__ = "1.5.3"
__maintainer__ = "Shandy Wikman"
__email__ = "ens01svn@cs.umu.se"
__status__ = "Development"
class foldalign(CommandLineApplication):
"""Applictation controller for foldalign RNA secondary structure prediction
application
"""
_parameters = {
'-max_length':ValuedParameter(Prefix='-',Name='max_length',Delimiter=' '),
'-max_diff':ValuedParameter(Prefix='-',Name='max_diff',Delimiter=' '),
'-score_matrix':ValuedParameter(Prefix='-',Name='score_matrix',Delimiter=' '),
'-format':ValuedParameter(Prefix='-',Name='format',Delimiter=' '),
'-plot_score':FlagParameter(Prefix='-',Name='plot_score'),
'-global':FlagParameter(Prefix='-',Name='global'),
'-summary':FlagParameter(Prefix='-',Name='summary'),}
_command = 'foldalign'
_input_handler = '_input_as_string'
|