Commit 22e21aff authored by fabrice's avatar fabrice

Prefix argument (contactmap)

parent 50b28391
...@@ -179,6 +179,8 @@ class AriaEcCommand: ...@@ -179,6 +179,8 @@ class AriaEcCommand:
parser.add_argument("--ssidx", dest="ssidx", action="store_true", parser.add_argument("--ssidx", dest="ssidx", action="store_true",
default=False, default=False,
help="Use secondary structure index") help="Use secondary structure index")
parser.add_argument("--prefix", dest="prefix", default="",
help="File name")
return parser return parser
def create_settings(self): def create_settings(self):
......
No preview for this file type
...@@ -36,7 +36,7 @@ class AriaEcContactMap(object): ...@@ -36,7 +36,7 @@ class AriaEcContactMap(object):
indent=4)) indent=4))
# ----------------------------- Input -------------------------------- # # ----------------------------- Input -------------------------------- #
self.outprefix = get_filename(self.settings.contactmap.args.get( self.outprefix = get_filename(self.settings.contactmap.args.get(
"seq", None)) "seq", None)) + self.settings.contactmap.args.get("prefix", "")
# Load Sequence file # Load Sequence file
self.protein.set_aa_sequence(self.settings.contactmap.args.get("seq", None)) self.protein.set_aa_sequence(self.settings.contactmap.args.get("seq", None))
# Load secondary structure prediction file # Load secondary structure prediction file
......
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment