Commit d00926ab authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN
Browse files

Added new prefix option for analysis command

parent b7ed2510
......@@ -39,6 +39,7 @@ your python installation or virtual environment.
Then the easiest solution is to call the ``pip`` command below :
.. code-block:: shell
pip install git+https://gitlab.pasteur.fr/bis-aria/ariaec
......
......@@ -495,7 +495,8 @@ class EnsembleAnalysis(object):
# ens_getdists = ensemble.getDistances
LOG.info("Violation analysis")
for clustidx, clustensemble in enumerate(clustensembles):
out_file = os.path.join(out_path, 'violations.csv')
prefix = self.settings.analysis.args.get("prefixname")
out_file = os.path.join(out_path, "_".join(filter(None, [prefix, 'violations.csv'])))
self.violation_analysis(project, iteration_id, restraints,
clustensemble, out_file,
clusteridx=clustidx, dists_ref=dists_ref,
......
......@@ -394,6 +394,9 @@ class AriaEcCommands(object):
help="Distance restraint file (XML) used for "
"violation analysis. Otherwise, use restraints"
" of the current iteration")
parser.add_argument("-p", "--prefixname", dest="prefixname",
default=None,
help="Prefix name for file names")
return parser
@staticmethod
......
BPT1_BOVIN structure prediction with EC map
===========================================
MALE_ECOLI folding with EC and NMR restraints
=============================================
Structure prediction with EC map
================================
Run
===
Combining EC with NMR information from an ARIA project
======================================================
Setup
=====
Supports Markdown
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