Mercurial > repos > bcrain-completegenomics > testing_scripts
comparison scripts/tools/cg_scripts/Calculate_TestVariants_Variant_Frequencies.xml @ 0:d1920ed3e4fc draft
Uploaded
author | bcrain-completegenomics |
---|---|
date | Wed, 13 Jun 2012 14:07:44 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d1920ed3e4fc |
---|---|
1 <tool id="pl_calculatefreq" name="Calculate_Variant_Frequencies" version="0.0.1"> | |
2 | |
3 <description>in cgatools-testvariants file</description> <!--adds description in toolbar--> | |
4 | |
5 <command interpreter="perl"> | |
6 Calculate_TestVariants_Variant_Frequencies_0_1_0.pl | |
7 --Input $input | |
8 --First_Genome_Field_Nr $first_col | |
9 --Last_Genome_Field_Nr $last_col | |
10 --Output1 $output1 | |
11 --Output2 $output2 | |
12 </command> | |
13 | |
14 <outputs> | |
15 <data format="tabular" name="output1" label="TestVariant_Frequencies on "/> | |
16 <data format="tabular" name="output2" label="TestVariant_Frequencies_Short on "/> | |
17 </outputs> | |
18 | |
19 <inputs> | |
20 <param name="input" type="data" format="tabular" label="TestVariants input file"> | |
21 <validator type="unspecified_build" /> | |
22 </param> | |
23 <param name="first_col" type="text" label="What column number is the first genome"/> | |
24 <param name="last_col" type="text" label="What column number is the last genome"/> | |
25 </inputs> | |
26 | |
27 | |
28 <help> | |
29 | |
30 **What it does** | |
31 | |
32 This tool calculates the allele frequencies for all variants present in the testvariant file. | |
33 | |
34 ----- | |
35 | |
36 **Instructions**:: | |
37 | |
38 Calculate the frequencies of variants in a testvariants output file | |
39 Two values calculated: | |
40 Frequency vs all alleles | |
41 Frequency vs called alleles | |
42 | |
43 Input: testvariants file | |
44 Outputs: | |
45 All data to *-Freq.tsv, including scores and quals | |
46 vars and freqs to *-Freq_Short.tsv | |
47 Exceptions to *-Freq_Log | |
48 Stats to *-Freq_Stats | |
49 | |
50 | |
51 perl Calculate_TestVariants_Variant_Frequencies_0_0_3.pl \ | |
52 --Input input_file \ | |
53 --First_Genome_Field_Nr col_nr1 \ | |
54 --Last_Genome_Field_Nr col_nr2 | |
55 --Output1 output1 \ | |
56 --Output2 output_short \ | |
57 eg | |
58 perl Calculate_TestVariants_Variant_Frequencies_0_0_3.pl \ | |
59 --Input /data/Family_Quartet_testvariants.tsv \ | |
60 --Output /data/Family_Quartet_testvariants | |
61 --First_Genome_Field_Nr 9 \ | |
62 --Last_Genome_Field_Nr 11 | |
63 --Output1 /data/Family_Quartet_testvariants | |
64 --Output2 /data/Family_Quartet_testvariants_short | |
65 | |
66 </help> | |
67 </tool> |