Mercurial > repos > iuc > cherri_eval
comparison cherri_eval.xml @ 0:7c6c282ecf5a draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/cherri commit f9348123725f421ddbdbd8d372d038da4880dbac
author | iuc |
---|---|
date | Fri, 09 Dec 2022 17:40:27 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7c6c282ecf5a |
---|---|
1 <tool id="cherri_eval" name="Evaluation of RRIs using CheRRI" version="@VERSION@" profile="@PROFILE@"> | |
2 <macros> | |
3 <import>macros.xml</import> | |
4 </macros> | |
5 <expand macro="requirements"/> | |
6 <command detect_errors="exit_code"><![CDATA[ | |
7 export PYTHONHASHSEED=31337 && | |
8 ln -s '$ref_source.genome_fasta' genome.fa && | |
9 mkdir model_dir && | |
10 tar -C model_dir -xvf '$model_tar' > /dev/null && | |
11 cherri eval | |
12 -i1 '$rris_table' | |
13 -g genome.fa | |
14 -l '$chrom_len_file' | |
15 -o . | |
16 -on cherri_eval | |
17 -c '$context' | |
18 -st $use_structure | |
19 -hf $hand_feat | |
20 -m 'model_dir/final_full.model' | |
21 -mp 'model_dir/features.npz' | |
22 #if $occupied_regions: | |
23 -i2 '$occupied_regions' | |
24 #end if | |
25 #if $intarna_param_file: | |
26 -p '$intarna_param_file' | |
27 #end if | |
28 ]]></command> | |
29 <inputs> | |
30 <param name="rris_table" type="data" format="csv" label="CSV file containing all RRIs that should be evaluated" /> | |
31 <expand macro="reference_source_conditional"/> | |
32 <param name="model_tar" type="data" format="tgz" label="Model and feature files in a tar" /> | |
33 <param name="context" type="integer" value="150" label="How much context should be added at up- and downstream of each sequence" /> | |
34 <param name="use_structure" type="boolean" truevalue="on" falsevalue="off" checked="true" label="Set 'off' if you want to disable structure, default 'on'" /> | |
35 <param name="hand_feat" type="boolean" truevalue="on" falsevalue="off" checked="false" label="If you want to start from hand-curated feature files, use this for evaluating test set performance. Default: 'off'" /> | |
36 <param name="occupied_regions" optional="True" type="data" format="binary" label="Occupied regions python object file containing a dictionary" /> | |
37 <param name="intarna_param_file" optional="True" type="data" format="txt" label="IntaRNA parameters file" /> | |
38 </inputs> | |
39 <outputs> | |
40 <data name="eval_out" format="csv" from_work_dir="cherri_eval/evaluation/evaluation_results_eval_rri.csv" label="Evaluation results on ${on_string}"/> | |
41 </outputs> | |
42 <tests> | |
43 <test> | |
44 <param name="rris_table" value="test_evaluate_rris.csv"/> | |
45 <conditional name="ref_source"> | |
46 <param name="ref_source_selector" value="history"/> | |
47 <param name="genome_fasta" value="genome.fa"/> | |
48 </conditional> | |
49 <param name="chrom_len_file" value="genome.sizes" /> | |
50 <param name="model_tar" value="context_150_model.tgz" /> | |
51 <output name="eval_out" file="evaluation_results_st_on.csv"/> | |
52 </test> | |
53 </tests> | |
54 <help><![CDATA[ | |
55 | |
56 **What it does** | |
57 | |
58 CheRRI detects functional RNA-RNA interaction (RRI) sites, by evaluating if an interaction site most likely occurs in nature. It helps to filter interaction sites generated either experimentally or by an RRI prediction algorithm, by removing false positive interactions. | |
59 | |
60 **Inputs** | |
61 | |
62 CheRRI takes a table of RNA-RNA interactions. It supports output of ChiRA or a csv files of interactions in the following format. The table needs the following header line: | |
63 | |
64 `chrom1,start1,stop1,strand1,chrom2,start2,stop2,strand2` | |
65 | |
66 Following the header line, each subsequent line represents an RRI, with chromosome ID (format: 1,2,3 ...), interaction start, interaction end, and strand ("+" or "-") of the two interacting partners. For example, you might want to evaluate the following three RRI sites:: | |
67 | |
68 19,18307518,18307539,-,14,90454500,90454521,+ | |
69 X,109054541,109054590,+,9,89178539,89178562,- | |
70 10,123136102,123136122,+,5,1245880,1245902,+ | |
71 | |
72 The tool also additionally takes a genome FASTA file and a chromosome lengths file. User can select an in-built FASTA or a FASTA file from history. | |
73 A chromosome legths file is tabular file where each line contains a tab separated chromosome name and its length. Followin is an example: | |
74 | |
75 chr1 23200231 | |
76 chr2 12497572 | |
77 chr3 8387920 | |
78 | |
79 CheRRI also needs a model file (in binary format). It can be generated by using CheRRI train tool. | |
80 | |
81 **Outputs** | |
82 | |
83 This tool outputs a tabular file containing predictions for each input interaction. | |
84 | |
85 ]]></help> | |
86 <expand macro="citations" /> | |
87 </tool> |