view PDAUG_Peptide_Ngrams/PDAUG_Peptide_Ngrams.xml @ 3:b2a7b957cd52 draft

"planemo upload for repository https://github.com/jaidevjoshi83/pdaug commit edb37634e419f75dd66292e712de51278746d883"
author jay
date Wed, 30 Dec 2020 03:06:50 +0000
parents 7557b48b2872
children
line wrap: on
line source

<tool id="pdaug_peptide_ngrams" name="PDAUG Peptide Ngrams" version="0.1.0" python_template_version="2.7">
	<description>Counts n-grams in the entire sequence set and fitting their distribution with the power-law distribution (Zipf’s law)</description>
  
    <requirements>
      <requirement type="package" version="2.7.18">python</requirement>
      <requirement type="package" version="1.4.6">powerlaw</requirement>
      <requirement type="package" version="0.2.4">quantiprot</requirement>
    </requirements>

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

        python2 '$__tool_directory__/PDAUG_Peptide_Ngrams.py' -f1 '$fasta1' -f2 '$fasta2'  --OutFile 'out.png'
             
    ]]></command>

    <inputs>
      <param name="fasta1" type="data" format="fasta" label="First fasta file" argument= "--fasta1" help="First fasta file"/>
      <param name="fasta2" type="data" format="fasta" label="Second fasta file" argument= "--fasta2" help="First fasta file"/>
    </inputs>

    <outputs>   
        <data name='output2' format='png' label="${tool.name} on $on_string - (PNG)" from_work_dir="out.png"/>
    </outputs>
 
    <tests>
        <test>
            <param name="fasta1" value="test1.fasta"/>
            <param name="fasta2" value="test2.fasta"/>
            <output name="output2" file="out.png"/>
        </test>
    </tests>

    <help><![CDATA[
.. class:: infomark

**What it does**

This tool counts n-grams in the entire  peptide sequence set and fitting their distribution with the power-law distribution (Zipf’s law) and plot the results.

-----

**Inputs**
    * **--InFile** Takes fasta file as input with peptide sequences. 

-----

**Outputs**
    * Returns html report file.]]></help>
<citations>
  <citation type="bibtex">
    @misc{PDAUGGITHUB, 
      author = {Joshi, Jayadev  and Blankenberg, Daniel}, 
      year = {2020}, 
      title ={PDAUG - a Galaxy based toolset for peptide library analysis, visualization, and machine learning modeling}, 
      publisher = {GitHub}, 
      journal = {GitHub repository}, 
      url =
      {https://github.com/jaidevjoshi83/pdaug.git}, 
      }
  </citation>
  <citation type="bibtex">
    @article{konopka_marciniak_dyrka_2017,
       title={Quantiprot - a Python package for quantitative analysis of protein sequences}, 
       volume={18},
       DOI={10.1186/s12859-017-1751-4}, 
       number={1}, 
       journal={BMC Bioinformatics},
       author={Konopka, Bogumił M. and Marciniak, Marta and Dyrka, Witold}, 
       year={2017}
     }
  </citation>
</citations>
</tool>