Mercurial > repos > bgruening > hicexplorer_hictadclassifier
comparison hicTADClassifier.xml @ 0:887d203233e5 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/hicexplorer commit 07802a6bd441d9da888cfb8283f8c2135704f7c9
author | bgruening |
---|---|
date | Wed, 18 Oct 2023 18:35:21 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:887d203233e5 |
---|---|
1 <tool id="hicexplorer_hictadclassifier" name="@BINARY@" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> | |
2 <description>TAD detection based on ML models</description> | |
3 <macros> | |
4 <token name="@BINARY@">hicTADClassifier</token> | |
5 <import>macros.xml</import> | |
6 </macros> | |
7 <expand macro="requirements" /> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 | |
10 @BINARY@ | |
11 --matrices '$matrix' | |
12 | |
13 @CHROMOSOME_LIST@ | |
14 --normalization_method $normalization_method_select | |
15 --threads @THREADS@ | |
16 #if $saved_classifier: | |
17 --saved_classifier $saved_classifier | |
18 #end if | |
19 --out_file predicted.txt | |
20 ]]> | |
21 </command> | |
22 <inputs> | |
23 <param name="matrix" type="data" format="cool" label="Hi-C matrix" help="This tool supports only the cooler file format" /> | |
24 <param name="normalization_method_select" type="select" label="Normalization method"> | |
25 <option value="obs_exp" selected="True">Observed / expected</option> | |
26 <option value="range">0 - 1 range</option> | |
27 </param> | |
28 <expand macro="chromosome_list" /> | |
29 | |
30 <param name="saved_classifier" format="binary" optional="True" type="data" label="Use a self-trained classifier"/> | |
31 | |
32 </inputs> | |
33 <outputs> | |
34 <data name="predicted_tad" from_work_dir="predicted.txt" format="txt" label="predicted TADs" /> | |
35 </outputs> | |
36 <tests> | |
37 <test> | |
38 <param name="matrix" value="small_test_matrix.cool" /> | |
39 <param name="normalization_method_select" value="obs_exp" /> | |
40 <output name="predicted_tad" file="hicTADClassifier/predicted.txt" ftype="txt" /> | |
41 </test> | |
42 | |
43 <test> | |
44 <param name="matrix" value="small_test_matrix.cool" /> | |
45 <param name="normalization_method_select" value="obs_exp" /> | |
46 <param name="saved_classifier" value="hicTADClassifier/unittest_classifier.BIN" /> | |
47 | |
48 <output name="predicted_tad" file="hicTADClassifier/predicted_second_classifier.txt" ftype="txt" /> | |
49 </test> | |
50 </tests> | |
51 <help><![CDATA[ | |
52 | |
53 Predict TADs based on a ML model | |
54 ================================ | |
55 | |
56 Uses Supervised Learning to call TAD boundaries. One Hi-C matrix can be passed, from which a BED file will be produced containing the predicted boundary positions. | |
57 By default, a EasyEnsembleClassifier as described in Liu et al.: “Exploratory Undersampling for Class-Imbalance Learning” will be used to call TADs. | |
58 Internally this classifier relies on Resampling, Boosting and Bagging. | |
59 Passed matrices will be observed/expected normalized by default. Alternatively, a 0 -1 range normalization can be used. Currently, only classifiers for 10, 25, 50 and 100 kb resolution are provided. For building own classifiers or tune existing ones, hicTrainClassifier can be used and passed with the saved_classifer argument. A simple usage example can be seen here: | |
60 | |
61 Usage | |
62 ----- | |
63 | |
64 .. code-block:: text | |
65 | |
66 $ hicTADClassifier -m my_matrix.cool -o predictions --normalization_method obs_exp | |
67 | |
68 | |
69 For more information about HiCExplorer please consider our documentation on readthedocs.io_. | |
70 | |
71 .. _readthedocs.io: http://hicexplorer.readthedocs.io/en/latest/index.html | |
72 | |
73 ]]> </help> | |
74 <expand macro="citations" /> | |
75 </tool> |