view clean_dante_ltr.xml @ 2:f131886ea194 draft

"planemo upload commit 891bfe9acf7349c2b887aff6d7e52a7f4ebf3b3a"
author petr-novak
date Tue, 12 Apr 2022 12:55:32 +0000
parents c1498f679b50
children 6ae4a341d1f3
line wrap: on
line source

<tool id="clean_dante_ltr" name="DANTE_LTR transposamble elements filtering" version="0.1.4" python_template_version="3.5">
    <requirements>

        <requirement type="package">r-optparse</requirement>
        <requirement type="package">blast</requirement>
        <requirement type="package">bioconductor-bsgenome</requirement>
        <requirement type="package">bioconductor-biostrings</requirement>
        <requirement type="package">bioconductor-rtracklayer</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
        Rscript ${__tool_directory__}/clean_ltr.R --gff3 '$dante_ltr' --reference_sequence '$reference' --output output --cpu 32
        &&
        mv output_clean.gff3 $dante_ltr_clean
        &&
        mv output_RM_lib.fasta $rm_lib
    ]]></command>
    <inputs>
        <param type="data" name="dante_ltr" format="gff3" />
        <param type="data" name="reference" format="fasta" />
    </inputs>
    <outputs>
        <data name="dante_ltr_clean" format="gff3" label="Annotation of validated LTR transposable
        elements based on annotation $dante_ltr.hid and reference $reference.hid"/>
        <data name="rm_lib" format="fasta" label="Non-redundant library of LTR transposable
        elements based on annotation $dante_ltr.hid and reference $reference.hid"/>
    </outputs>
    <help><![CDATA[
        This tool takes output from DANTE_LTR search identifies good quality transposable elements.
         Good quality TE are considered those which does not have any cross-similarity between distinct lineages.
         Output from this tool is a annotation in GFF3 format and
         non-redundant library of elements for custom RepeatMasker search.

    ]]></help>
</tool>