view makendx.xml @ 2:b5a22b6f5a07 draft

"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tools/gromacs commit d75a4b4a47d2a74aacb6d3ff90755f9a5289cfb1"
author chemteam
date Wed, 18 Dec 2019 15:24:28 -0500
parents 48dcca6f45ce
children d9eb276dfa32
line wrap: on
line source

<tool id="gmx_makendx" name="Create GROMACS index files" version="@VERSION@">
    <description>using make_ndx</description>
    <macros>
        <import>macros.xml</import>
    </macros>

    <expand macro="requirements" />

    <command detect_errors="exit_code"><![CDATA[

        ln -s '$input_file' ./input.$input_file.ext &&
        (echo '$sel'; echo 'q') | gmx make_ndx -f ./input.$input_file.ext -o ./ndx.ndx &>> verbose.txt &&
        cp ./ndx.ndx '$ndx'

    ]]></command>

    <inputs>
        <param argument="input_file" type="data" format='gro,pdb' label="Input structure"/>
        <param argument="sel" type="text" label="Selection command" help="Selection for the new index group, e.g. 'r34' to select residue 34. Use  the operators '|' (or) and &amp; (and) to combine predefined groups.">
            <sanitizer>
                <valid>
                    <add value="|" />
                    <add value="&amp;" />
                    <add value="!" />
                </valid>
            </sanitizer>
        </param>

        <expand macro="log" />

    </inputs>
    <outputs>
        <data name="ndx" format="ndx"/>
        <expand macro="log_outputs" />
    </outputs>
    <tests>
        <test>
            <param name="input_file" value="md_0_1.gro" ftype="gro"/>
            <param name="sel" value="! 1 &amp; 14" />
            <output name="ndx" file="md_0_1.ndx">
                <assert_contents>
                    <has_line line="[ !Protein_&amp;_non-Water ]"/>
                    <has_text text="38369 38370 38371 38372 38373 38374 38375 38376"/>
                </assert_contents>
            </output>
        </test>
    </tests>
    <help><![CDATA[

.. class:: infomark

**What it does**

Generates GROMACS custom index files.

_____

.. class:: infomark

**Input**

    - A PDB or GRO file.
    - A selection command for the new index group to be included in the output file. Combine previously defined groups using identifying values with the operators '|' (or) and & (and). For example, '1 | 4' will create a new index group containing all atoms contained within the first and fourth index groups already specified (according to their position in the input file).

_____

.. class:: infomark

**Output**

    - A GROMACS index (ndx) file, containing the 'default' index groups and the new group at the end of the file.

    ]]></help>

    <expand macro="citations" />
</tool>
ٕeI+xA'U5I*!#i%0Cb\fHZrbh3%W.gٿd~cAe~{3J^\PLh3YoHN٩If4:N7MO%;vB3vbOAe " \G>Rl&NA\u򆝯 :k%*n gjo}AR4ڀ0t5HZȉڛn/hMj$3>/q`^ǾC ͤBfNkc>_* 2Li{-PM:t @3 NlC<t4SZ{}Kޢ{GIYAO+}!gX ׃!јiV-EgN 4(ZYW2L/ SZ~ٺ_Lim=v\G[OCk"Jyr ~˟tAxo-$nas?$Kl6g4AHP)&\1kޫ9XJ2!g@azq:$+YzN_윛/މWYJ 1ocf)'5U|]fւ}Ry]=M |5\7O\&zZ= Sِ=sҹiʉ{EL9}]L\OXeDw2_v}b9lKfM9l5!UDqj:\ !TXyAF{pf-$uHIymn{3a%B~RWΏS̓:cQoc(D`S CUeh'z?_OI|K.ϮY$A+83X0kgt>QL &xtLF[`|RCP W(ԕod0!,&fDVm5 y ;usD7 M̩5J$fECg6]dʗ d4K*gh?ؽ|@wН c{LV~OCP%U}˴$J/}I+(7poU؆߃#?D^{YC OKXuU6{1D{bݧNoռSB\U~}i8VWQ=r;ioK})YսnBpj]-cB N!Bj[71Djer_ ,Y=;^ ˸\ujee=gih`[l^U'xS-;tLbdjQzߙT߁|I2`d"%޿>֗?fk֨n SY)_v{۹;jB\ޅ)& #7)2_"q*jhȌ G\jBC#a7T]';}&+GBp0ǎJ Bqv.SoѮiD`#БgCŵ$\l-,S >@vk>iׁn)5u~`&} G!rN/`2Zb8ܖnY.Z"7Cۤ{_}S\M=pZ>Ҡ !8૤e]CNX=vd}z5R BVj_VA+3S18@f#)+ ~ë2YUm͒gkg)+ Zhx]~暾3XF=fmf!8_ ?RU$b :{Fhf-2BF