1
1
<tool id =" bgchem_fragment_merger" name =" Merging" >
2
2
<description >fragmented molecules</description >
3
3
<command interpreter =' python' >
4
- merger.py -i $infile --input-format ${infile.ext} -o $outfile --output-format $oformat 2>& 1
4
+ merger.py
5
+ -i $infile
6
+ -o $outfile
7
+ --molwt-cutoff $molwt_cutoff
8
+ #if $iter_opts.iter_opts_selector=="user":
9
+ --mdid-off # if set, its deactivated
10
+ --max-iteration-depth $iter_opts.max_depth
11
+ #else:
12
+ ## Set defaults
13
+ ## End of molecule dependent iteration depth options:
14
+ #end if
15
+ 2>& 1
5
16
</command >
6
17
<inputs >
7
18
<param name =" infile" type =" data" format =" sdf,smi,mol,inchi,cml" label =" Input file" help =" Dataset missing? See TIP below" />
8
- <param name =' oformat' type =' select' format =' text' label =" Output format." >
9
- <option value =' smi' >SMILES</option >
10
- <option value =' inchi' >InChI</option >
11
- <option value =' sdf' >SD-Files</option >
12
- <option value =' mol2' >mol2</option >
13
- </param >
19
+ <param name =" molwt_cutoff" type =" integer" value =" 500" label =" The number of positions between windows to report." />
20
+ <conditional name =" iter_opts" >
21
+ <param name =" iter_opts_selector" type =" select" label =" Iteration depth" >
22
+ <option value =" mdid" selected =" True" >Molecule dependent iteration depth</option >
23
+ <option value =" user" >User dependent iteration depth</option >
24
+ </param >
25
+ <when value =" mdid" />
26
+ <when value =" user" >
27
+ <param name =" max_depth" type =" integer" value =" 2" label =" Max iteration depth." help =" " >
28
+ <validator type =" in_range" min =" 0" />
29
+ </param >
30
+ </when >
31
+ </conditional >
14
32
</inputs >
15
33
<outputs >
16
34
<data format =" smi" name =" outfile" >
25
43
<test >
26
44
</test >
27
45
</tests >
28
-
29
46
<help >
30
47
31
48
@@ -34,32 +51,13 @@ Merging small molecules together to larger compounds using some predifined react
34
51
35
52
-----
36
53
37
- **Example **
54
+ **Input **
38
55
39
- * input:: Fragments
56
+ A molecule file with marked molecules. You can create such a file with the Fragmenter tool and the option 'mark atoms'.
40
57
58
+ **Output**
41
59
42
- ** Reaction Matrix **
43
- 0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0
44
- 1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0
45
- 0,1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0
46
- 1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
47
- 0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0
48
- 0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
49
- 0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0
50
- 1,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0
51
- 0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0
52
- 0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0
53
- 0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0
54
- 0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0
55
- 0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0
56
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0
57
- 0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0
58
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0
59
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0
60
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0
61
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1
62
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0
60
+ A molecule file with new created/merged molecules.
63
61
64
62
65
63
</help >
0 commit comments