annotate graphclust_aggregate.xml @ 0:8778478a754f draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
author rnateam
date Sat, 27 Oct 2018 13:20:46 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
1 <tool id="graphclust_aggregate_alignments" name="Aggregate and filter alignment metrics" version="0.1">
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
2 <description>of individual clusters, like the output of graphclust_align_cluster</description>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
3 <requirements>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
4 <requirement type="package" version="0.6.0">graphclust-wrappers</requirement>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
5 <requirement type="package" version="0.23.0">pandas</requirement>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
6 </requirements>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
7 <command detect_errors="exit_code">
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
8 <![CDATA[
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
9 mkdir ./clusters_metrics &&
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
10 #import re
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
11 #for $tsv in $alignment_cons_tsv:
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
12 #set $safename_tsv = re.sub('[^\w\-_\.]', '_', $tsv.element_identifier)
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
13 ln -f -s '$tsv' ./clusters_metrics/${safename_tsv}.tsv &&
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
14 #end for
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
15 aggregate_align_metrics.py
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
16 --RNAz-prob-threshold $RNAz_prob_threshold
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
17 --rscape-bp-threshold $rscape_bp_threshold
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
18 --min-seq-num $min_seq_num
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
19 $exclude_spurious_structs
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
20 $additonal_columns
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
21 --clusters-tsv-pattern
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
22 "clusters_metrics/*.tsv"
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
23 --filtered-tsv-out filtered-alignment-metrics.tsv
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
24 --bed-out bed-cluster-locations.bed
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
25
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
26 ]]></command>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
27 <inputs>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
28 <param type="data" name="alignment_cons_tsv" format="tabular" multiple="True" label="conservation-metrics-tsv"
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
29 help="Tabular tsv file of the computed conservation metrics from align cluster step"/>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
30 <param argument="min_seq_num" type="integer" value="3" label="Minimum cluster size"
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
31 help="Clusters with fewer seqeunces are excluded"/>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
32 <param argument="RNAz_prob_threshold" type="float" value="0.5" label="RNAz bed threshold"
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
33 help="Minimum RNAz SVM RNA-class probablity for bed annotation as RNAz hit"/>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
34 <param argument="rscape_bp_threshold" type="integer" value="2" label="Rscape bed threshold"
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
35 help="Minimum number of significant covarying basepairs by Rscape for bed annotation as Rscape hit"/>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
36 <param name="exclude_spurious_structs" type="boolean" checked="True" truevalue="--exclude-spurious-structs" falsevalue=""
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
37 help="Exclude spurious alignment structs with poor SCI less than 0.01"/>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
38 <param name="additonal_columns" type="boolean" checked="False" truevalue="--all-columns" falsevalue="" help="Output additional prediction metrics"/>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
39 </inputs>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
40 <outputs>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
41 <data name="filtered_tsv" format="tabular" from_work_dir="filtered-alignment-metrics.tsv" label="filtered-alignment-metrics.tsv" />
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
42 <data name="bed_clusters" format="tabular" from_work_dir="bed-cluster-locations.bed" label="bed-cluster-locations.bed" />
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
43 </outputs>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
44 <tests>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
45 <test>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
46 <param name="alignment_cons_tsv" value="1.alignment.cons.tsv,2.alignment.cons.tsv,3.alignment.cons.tsv"/>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
47 <output name="filtered_tsv" file="metrics1.tsv" />
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
48 <output name="bed_clusters" file="clusters1.bed" />
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
49 </test>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
50 </tests>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
51 <help><![CDATA[
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
52 Aggregate and filter alignment metrics of individual clusters, like the output
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
53 of graphclust_align_cluster
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
54 ]]></help>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
55
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
56 <citations>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
57 <citation type="doi">10.5281/zenodo.597695</citation>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
58 </citations>
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
59
8778478a754f planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AggregateAlignments commit 4406735e44aba20859c252be39f4e99df28c7a92
rnateam
parents:
diff changeset
60 </tool>