annotate ensure_synced.xml @ 3:2656d87abfee draft

Uploaded
author greg
date Wed, 26 Aug 2020 13:41:56 -0400
parents 281f38df3c58
children a7be280fa304
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 &&
1
281f38df3c58 Uploaded
greg
parents: 0
diff changeset
6 tr '\t' '\n' < test.head > $affy_ids_from_file &&
0
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