annotate repeat_annotate_custom.xml @ 2:be93d5b35ab6 draft default tip

Uploaded
author petr-novak
date Wed, 06 Oct 2021 12:12:11 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
1 <tool id="repeat_annotate" name="RepeatExplorer Based Assembly Annotation" version="0.1.0" python_template_version="3.5">
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
2 <requirements>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
3 <requirement type="package">repeatmasker</requirement>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
4 <requirement type="package">bioconductor-rtracklayer</requirement>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
5 </requirements>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
7 RepeatMasker -dir \$(pwd) '$input' -pa 12 -lib '$repeat_library' -xsmall -nolow -no_is -e ncbi -s
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
8 &&
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
9 ls -l * >&2 &&
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
10 cp `basename $input`.out $output2
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
11 &&
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
12 Rscript ${__tool_directory__}/clean_rm_output.R $output2 $output1
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
13
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
14 ]]></command>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
15 <inputs>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
16 <param type="data" name="input" format="fasta" label="Genome/ Assembly to annotate" />
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
17 <param type="data" name="repeat_library" format="fasta" label="RepeatExplorer based Library of Repetitive Sequences"
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
18 help="custom database of repetitive sequences should be provided in fasta format. Sequence header should specify repeat class:
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
19 >sequence_id#classification_level1/classification_level2/..." />
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
20 </inputs>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
21 <outputs>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
22 <data name="output1" format="gff3" label="Repeat Annotation on ${on_string}, cleaned gff"/>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
23 <data name="output2" format="tabular" label="RepeatMasker on ${on_string}, original output" />
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
24 </outputs>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
25 <help><![CDATA[
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
26 This tools uses RepeatMasker to annotate repetitive sequences in the genome assemblie using custom library of repeats created from RepeatExplorer output.
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
27 Library of repeats created from RepeatExplorer ouput are contigs and TAREAN consensus sequences in fasta format where sequence header containg information about classification of repeats as **>sequence_id#classification_level1/classification_level2/...**
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
28
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
29 Classification in RepeatExplorer based library follows predetermined classification levels. User can however specify additional classification levels or ciompletelly custom classifications. Conflicts in annotations are resolved based on classification hierarchy.
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
30
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
31
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
32
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
33 ]]></help>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
34 </tool>
be93d5b35ab6 Uploaded
petr-novak
parents:
diff changeset
35