Mercurial > repos > chemteam > mdanalysis_cosine_analysis
view pca_cosine.xml @ 6:48d6a6eb438b draft default tip
"planemo upload for repository https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/ commit f1c3c88c7395f2e84cbc533199406aadb79c5c07"
author | chemteam |
---|---|
date | Fri, 13 Nov 2020 19:43:39 +0000 |
parents | a842da7ef42b |
children |
line wrap: on
line source
<tool id="mdanalysis_cosine_analysis" name="Cosine Content" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@"> <description>- measure the cosine content of the PCA projection</description> <macros> <import>macros.xml</import> <token name="@GALAXY_VERSION@">0</token> </macros> <expand macro="requirements" /> <command detect_errors="exit_code"> <![CDATA[ python '$__tool_directory__/pca_cosine.py' --itraj '$trajin' --istr '$strin' --itrajext '$trajin.ext' --istrext '$strin.ext' --icomponents '$components' --iindex '$index' --output '$output' --cosout '$cosout' 2>&1 ]]></command> <inputs> <expand macro="analysis_inputs"/> <param name="components" type="integer" value="3" label="Number of components"/> <param name="index" type="integer" value="0" label="The index of the PCA component projection to be analyzed"/> </inputs> <outputs> <data format="tabular" name="output" label="PCA Analysis raw data"/> <data format="txt" name="cosout" label="Cosine content of the PCA projection"/> </outputs> <tests> <test> <expand macro="tests_inputs"/> <param name="components" value="3"/> <param name="index" value="0"/> <output name="cosout"> <assert_contents> <has_text text="0.5832533" /> </assert_contents> </output> </test> <test> <expand macro="tests_inputs_gmx"/> <param name="components" value="3"/> <param name="index" value="0"/> <output name="cosout"> <assert_contents> <has_text text="0.583" /> </assert_contents> </output> </test> </tests> <help><![CDATA[ .. class:: infomark **What it does** The cosine content of the principal components is a good indicator for determining the quality of the sampling and can be used to determine the convergence of the MD simulation. This tool can calculate the cosine content of a user-defined PCA projection. Note: it uses zero-based indexes (i.e. 0 is the first principal component). _____ .. class:: infomark **Input** - Trajectory file (DCD). - PDB file. _____ .. class:: infomark **Output** - The cosine content value. - Tab-separated file of raw data of the first three principal components. ]]></help> <expand macro="citations"> <citation type="doi">10.1103/PhysRevE.65.031910</citation> </expand> </tool>