Ensembl/ensembl-hive

View on GitHub
docs/scripts/tweak_pipeline.html

Summary

Maintainability
Test Coverage
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>tweak_pipeline.pl</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@localhost" />
</head>

<body>



<h1 id="NAME">NAME</h1>

<pre><code>    tweak_pipeline.pl</code></pre>

<h1 id="SYNOPSIS">SYNOPSIS</h1>

<pre><code>    ./tweak_pipeline.pl [ -url mysql://user:pass@server:port/dbname | -reg_conf &lt;reg_conf_file&gt; -reg_alias &lt;reg_alias&gt; ] -tweak &#39;analysis[mafft%].analysis_capacity=undef&#39;</code></pre>

<h1 id="DESCRIPTION">DESCRIPTION</h1>

<pre><code>    This is a script to &quot;tweak&quot; attributes or parameters of an existing Hive pipeline.</code></pre>

<h1 id="OPTIONS">OPTIONS</h1>

<p><b>--url</b></p>

<pre><code>    url defining where hive database is located</code></pre>

<p><b>--reg_conf</b></p>

<pre><code>    path to a Registry configuration file</code></pre>

<p><b>--reg_type</b></p>

<pre><code>    Registry type of the Hive DBAdaptor</code></pre>

<p><b>--reg_alias</b></p>

<pre><code>    species/alias name for the Hive DBAdaptor</code></pre>

<p><b>--nosqlvc</b></p>

<pre><code>    &quot;No SQL Version Check&quot; - set this to one if you want to force working with a database created by a potentially schema-incompatible API (0 by default)</code></pre>

<p><b>--tweak</b></p>

<pre><code>    An assignment command that performs one individual &quot;tweak&quot;. You can &quot;tweak&quot; global/analysis parameters, analysis attributes and resource classes:

        -tweak &#39;pipeline.param[take_time]=20&#39;                   # override a value of a pipeline-wide parameter; can also create a non-existent parameter
        -tweak &#39;analysis[take_b_apart].param[base]=10&#39;          # override a value of an analysis-wide parameter; can also create a non-existent parameter
        -tweak &#39;analysis[add_together].analysis_capacity=undef&#39; # override a value of an analysis attribute
        -tweak &#39;analysis[add_together].batch_size=15&#39;           # override a value of an analysis_stats attribute
        -tweak &#39;analysis[part_multiply].resource_class=urgent&#39;  # set the resource class of an analysis (whether a resource class with this name existed or not)
        -tweak &#39;resource_class[urgent].LSF=-q yesteryear&#39;       # update or create a new resource description

    If multiple &quot;tweaks&quot; are requested, they will be performed in the given order.</code></pre>

<p><b>--DELETE</b></p>

<pre><code>    Shortcut to delete a parameter</code></pre>

<p><b>--SHOW</b></p>

<pre><code>    Shortcut to show a parameter value</code></pre>

<h1 id="LICENSE">LICENSE</h1>

<pre><code>    Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
    Copyright [2016-2021] EMBL-European Bioinformatics Institute

    Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

         http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software distributed under the License
    is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and limitations under the License.</code></pre>

<h1 id="CONTACT">CONTACT</h1>

<pre><code>    Please subscribe to the Hive mailing list:  http://listserver.ebi.ac.uk/mailman/listinfo/ehive-users  to discuss Hive-related questions or to be notified of our updates</code></pre>


</body>

</html>