Mercurial > repos > cristian > notos
comparison CpGoe.xml @ 0:1535ffddeff4 draft
planemo upload commit a7ac27de550a07fd6a3e3ea3fb0de65f3a10a0e6-dirty
author | cristian |
---|---|
date | Thu, 07 Sep 2017 08:51:57 -0400 |
parents | |
children | cb8bac9d0d37 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1535ffddeff4 |
---|---|
1 <tool id="CpGoe" name="Calculate CpNo/e" version="1.0.0"> | |
2 <requirements> | |
3 <requirement type="package" version="5.8.0">perl</requirement> | |
4 </requirements> | |
5 <stdio> | |
6 <exit_code range="1:" /> | |
7 </stdio> | |
8 <command><![CDATA[ | |
9 perl ${__tool_directory__}/CpGoe.pl -f $fastafile -a $algo -c $context -o $outfile -m $minlength | |
10 ]]></command> | |
11 <inputs> | |
12 <param name="fastafile" type="data" format="fasta" /> | |
13 <param name="context" type="select" label="Select context to calculate the CpNo/e ratio" > | |
14 <option value="CpG" selected="selected">CpG</option> | |
15 <option value="CpA">CpA</option> | |
16 <option value="CpC">CpC</option> | |
17 <option value="CpT">CpT</option> | |
18 </param> | |
19 <param name="algo" type="select" label="Select algorithm to calculate the CpGo/e ratio" > | |
20 <option value="1">(CpG / (C * G)) * (L^2 / L-1)</option> | |
21 <option value="2">Gardiner-Garden and Frommer (CpG / (G + C))*L</option> | |
22 <option value="3">Zeng and Yi (CpG / L) / ((C + G)/L)^2</option> | |
23 <option value="4">Saxonov, Berg and Brutlag CpG / ((C + G)/2)^2</option> | |
24 </param> | |
25 <param name="minlength" type="integer" value="200" help="Minimum length of the sequence to calculate CpGo/e ratio" /> | |
26 </inputs> | |
27 <outputs> | |
28 <data name="outfile" format="tabular" /> | |
29 </outputs> | |
30 <tests> | |
31 <test> | |
32 <param name="fastafile" value="9_seqs.fa"/> | |
33 <output name="outfile1" file="9_seqs_cpgoe.csv"/> | |
34 </test> | |
35 </tests> | |
36 <help><![CDATA[ | |
37 CpGoe.pl -f fasta-file -a algo -c context -o output_file -m minlength | |
38 | |
39 Reads multi fasta files, writes name, length, CpGs and GpCs, CpGo/e ratios and other quantities into TAB file for each sequence. | |
40 | |
41 The available contexts (-c) are CpG, CpA, CpC, CpT. Default CpG. | |
42 | |
43 The algorithms (-a) available for -a are the following:: | |
44 | |
45 1 => (CpG / (C * G)) * (L^2 / L-1) | |
46 2 => (CpG / (C * G)) * L | |
47 3 => (CpG / L) / ((C + G) / L)^2 | |
48 4 => (CpG / (C + G)/2)^2 | |
49 | |
50 Where L represents the length of the sequence, CpG represents the count of CG dinucleotide, C and G represent the count for the respective bases and TG represents the number of TG dinucleotides. | |
51 ]]></help> | |
52 <citations> | |
53 <citation> | |
54 <citation type="doi">10.1101/180463</citation> | |
55 </citation> | |
56 </citations> | |
57 </tool> |