annotate ensure_synced.xml @ 0:9180906544b6 draft

Uploaded
author greg
date Thu, 15 Aug 2019 10:37:49 -0400
parents
children 281f38df3c58
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9180906544b6 Uploaded
greg
parents:
diff changeset
1 <tool id="ensure_synced" name="Ensure synchronized" version="1.0.0">
9180906544b6 Uploaded
greg
parents:
diff changeset
2 <description>analysis components</description>
9180906544b6 Uploaded
greg
parents:
diff changeset
3 <command detect_errors="exit_code"><![CDATA[
9180906544b6 Uploaded
greg
parents:
diff changeset
4 #set affy_ids_from_file = 'affy_ids_from_file.txt'
9180906544b6 Uploaded
greg
parents:
diff changeset
5 grep "#CHROM" $input > test.head &&
9180906544b6 Uploaded
greg
parents:
diff changeset
6 tr '\t' '\n' < test.head > $affy_ids_from_file
9180906544b6 Uploaded
greg
parents:
diff changeset
7 python '$__tool_directory__/ensure_synced.py'
9180906544b6 Uploaded
greg
parents:
diff changeset
8 --database_connection_string '$__app__.config.corals_database_connection'
9180906544b6 Uploaded
greg
parents:
diff changeset
9 --affy_ids_from_file '$affy_ids_from_file'
9180906544b6 Uploaded
greg
parents:
diff changeset
10 --output '$output']]></command>
9180906544b6 Uploaded
greg
parents:
diff changeset
11 <inputs>
9180906544b6 Uploaded
greg
parents:
diff changeset
12 <param name="input" format="vcf" type="data" label="All genotyped samples file"/>
9180906544b6 Uploaded
greg
parents:
diff changeset
13 </inputs>
9180906544b6 Uploaded
greg
parents:
diff changeset
14 <outputs>
9180906544b6 Uploaded
greg
parents:
diff changeset
15 <data name="output" format="txt" label="${tool.name} (process log) on ${on_string}"/>
9180906544b6 Uploaded
greg
parents:
diff changeset
16 </outputs>
9180906544b6 Uploaded
greg
parents:
diff changeset
17 <tests>
9180906544b6 Uploaded
greg
parents:
diff changeset
18 <test>
9180906544b6 Uploaded
greg
parents:
diff changeset
19 <!--Testing this tool is a bit difficult at the current time.-->
9180906544b6 Uploaded
greg
parents:
diff changeset
20 </test>
9180906544b6 Uploaded
greg
parents:
diff changeset
21 </tests>
9180906544b6 Uploaded
greg
parents:
diff changeset
22 <help>
9180906544b6 Uploaded
greg
parents:
diff changeset
23 **What it does**
9180906544b6 Uploaded
greg
parents:
diff changeset
24
9180906544b6 Uploaded
greg
parents:
diff changeset
25 Compares the set of Affymetrix id strings contained within a selected VCF file with the set of Affymetrix ids contained
9180906544b6 Uploaded
greg
parents:
diff changeset
26 in the affy_id column of the sample table in the corals (stag) database for all samples not in a failed state. If these
9180906544b6 Uploaded
greg
parents:
diff changeset
27 sets are equivalent, the file and the database are considered to be in sync with each other.
9180906544b6 Uploaded
greg
parents:
diff changeset
28 </help>
9180906544b6 Uploaded
greg
parents:
diff changeset
29 <citations>
9180906544b6 Uploaded
greg
parents:
diff changeset
30 <citation type="bibtex">
9180906544b6 Uploaded
greg
parents:
diff changeset
31 @misc{None,
9180906544b6 Uploaded
greg
parents:
diff changeset
32 journal = {None},
9180906544b6 Uploaded
greg
parents:
diff changeset
33 author = {Baums I},
9180906544b6 Uploaded
greg
parents:
diff changeset
34 title = {Manuscript in preparation},
9180906544b6 Uploaded
greg
parents:
diff changeset
35 year = {None},
9180906544b6 Uploaded
greg
parents:
diff changeset
36 url = {http://baumslab.org}
9180906544b6 Uploaded
greg
parents:
diff changeset
37 </citation>
9180906544b6 Uploaded
greg
parents:
diff changeset
38 </citations>
9180906544b6 Uploaded
greg
parents:
diff changeset
39 </tool>
9180906544b6 Uploaded
greg
parents:
diff changeset
40