annotate ensure_synced.xml @ 6:68ca17b451f2 draft

Uploaded
author greg
date Fri, 17 Dec 2021 17:46:31 +0000
parents a7be280fa304
children
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>
5
a7be280fa304 Uploaded
greg
parents: 1
diff changeset
30 <citation type="doi">https://doi.org/10.1038/s41598-020-69101-z</citation>
0
9180906544b6 Uploaded
greg
parents:
diff changeset
31 </citations>
9180906544b6 Uploaded
greg
parents:
diff changeset
32 </tool>
9180906544b6 Uploaded
greg
parents:
diff changeset
33