annotate clean_dante_ltr.xml @ 7:c33d6583e548 draft

"planemo upload commit 50884f7f0269a0bbde078f24fe5020975693bcd9"
author petr-novak
date Fri, 24 Jun 2022 14:19:48 +0000
parents b91ca438a1cb
children 9de392f2fc02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
c33d6583e548 "planemo upload commit 50884f7f0269a0bbde078f24fe5020975693bcd9"
petr-novak
parents: 6
diff changeset
1 <tool id="clean_dante_ltr" name="DANTE_LTR retrotransposons filtering" version="0.1.6" python_template_version="3.5">
0
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
2 <requirements>
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
3
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
4 <requirement type="package">r-optparse</requirement>
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
5 <requirement type="package">blast</requirement>
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
6 <requirement type="package">bioconductor-bsgenome</requirement>
1
c1498f679b50 "planemo upload commit e3385df50052b11d3bdd5c997abae5fb1b87ed56"
petr-novak
parents: 0
diff changeset
7 <requirement type="package">bioconductor-biostrings</requirement>
0
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
8 <requirement type="package">bioconductor-rtracklayer</requirement>
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
9 </requirements>
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
11 Rscript ${__tool_directory__}/clean_ltr.R --gff3 '$dante_ltr' --reference_sequence '$reference' --output output --cpu 32
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
12 &&
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
13 mv output_clean.gff3 $dante_ltr_clean
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
14 &&
3
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
15 mv output_RM_lib_non_redundant.fasta $rm_lib
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
16 &&
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
17 mv output_RM_lib_full_TE.fasta $te_full
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
18 &&
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
19 mv output_RM_lib_5LTR.fasta $ltr5
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
20 &&
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
21 mv output_RM_lib_3LTR.fasta $ltr3
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
22 &&
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
23 mv output_summary.pdf $summary
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
24
0
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
25 ]]></command>
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
26 <inputs>
6
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
27 <param type="data" name="dante_ltr" format="gff3"
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
28 label="GFF3 output from DANTE_LTR retrotransposon identification pipeline"/>
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
29 <param type="data" name="reference" format="fasta" label="Reference sequence matching input GFF3" />
0
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
30 </inputs>
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
31 <outputs>
6
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
32 <data name="dante_ltr_clean" format="gff3"
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
33 label="Validated LTR retrotransposons annotation (GFF3) based on annotation
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
34 $dante_ltr.hid and reference $reference.hid"/>
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
35 <data name="rm_lib" format="fasta" label="Non-redundant library of LTR retrotransposons (FASTA) based on annotation $dante_ltr.hid and reference $reference.hid"/>
3
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
36
6
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
37 <data name="te_full" format="fasta" label="Library of full length LTR retrotransposons (FASTA) based on annotation $dante_ltr.hid and reference $reference.hid"/>
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
38
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
39 <data name="ltr5" format="fasta" label="Library of 5'LTR of retrotransposons (FASTA) based on annotation $dante_ltr.hid and reference $reference.hid"/>
3
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
40
6
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
41 <data name="ltr3" format="fasta" label="Library of 3'LTR of retrotransposons (FASTA) based on annotation $dante_ltr.hid and reference $reference.hid"/>
3
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
42
6
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
43 <data name="summary" format="pdf" label="LTR retrotransposons lengths summary based on $dante_ltr.hid and reference $reference.hid"/>
3
6ae4a341d1f3 "planemo upload commit 8bd6029a4de4a8f5031a5cc71303bb06217cc88a"
petr-novak
parents: 2
diff changeset
44
0
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
45 </outputs>
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
46 <help><![CDATA[
6
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
47 This tool takes output from DANTE_LTR search identifies good quality retrotransposons.
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
48 Good quality retrotransposons are considered those which does not have any cross-similarity between distinct lineages.
0
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
49 Output from this tool is a annotation in GFF3 format and
6
b91ca438a1cb "planemo upload commit 9633fb98932151f059ce02a0ce202a4374ef8d68"
petr-novak
parents: 3
diff changeset
50 libraries of elements for custom RepeatMasker search.
0
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
51
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
52 ]]></help>
7b0bbe7477c4 "planemo upload commit 92c684dff3b377c8c08654c7f3d46a133385e3e0-dirty"
petr-novak
parents:
diff changeset
53 </tool>