| 
0
 | 
     1 <tool id="validate_affy_metadata" name="Validate Affymetrix metadata" version="1.0.0">
 | 
| 
 | 
     2     <description>for 96 well plate</description>
 | 
| 
 | 
     3     <command detect_errors="exit_code"><![CDATA[
 | 
| 
 | 
     4 python '$__tool_directory__/validate_affy_metadata.py'
 | 
| 
 | 
     5 --input '$input'
 | 
| 
 | 
     6 --output '$output']]></command>
 | 
| 
 | 
     7     <inputs>
 | 
| 
 | 
     8         <param name="input" type="data" format="csv" label="Affymetrix 96 well plate metadata file">
 | 
| 
10
 | 
     9             <validator type="expression" message="96 well plate data must have 29 columns and no more than 96 lines of data"><![CDATA[value is not None and value.metadata.columns==29 and value.metadata.data_lines<=96]]></validator>
 | 
| 
0
 | 
    10         </param>
 | 
| 
 | 
    11     </inputs>
 | 
| 
 | 
    12     <outputs>
 | 
| 
 | 
    13         <data name="output" format="csv"/>
 | 
| 
 | 
    14     </outputs>
 | 
| 
 | 
    15     <tests>
 | 
| 
 | 
    16         <test>
 | 
| 
 | 
    17             <param name="input" value="affy_metadata.csv" ftype="csv"/>
 | 
| 
 | 
    18             <output name="output" file="affy_metadata.csv" ftype="csv"/>
 | 
| 
 | 
    19         </test>
 | 
| 
 | 
    20     </tests>
 | 
| 
 | 
    21     <help>
 | 
| 
15
 | 
    22 
 | 
| 
 | 
    23 -----
 | 
| 
 | 
    24 
 | 
| 
0
 | 
    25 **What it does**
 | 
| 
 | 
    26 
 | 
| 
15
 | 
    27 Validates an Affymetrix metadata file for 96 well plate data.  These files consist of 29 columns and no more than 96 data lines.
 | 
| 
0
 | 
    28 The tool will output the input file if it is valid.
 | 
| 
15
 | 
    29 
 | 
| 
0
 | 
    30 -----
 | 
| 
 | 
    31 
 | 
| 
15
 | 
    32 **Columns**
 | 
| 
 | 
    33 
 | 
| 
 | 
    34     date_entered_db
 | 
| 
 | 
    35     user_specimen_id
 | 
| 
 | 
    36     field_call
 | 
| 
 | 
    37     bcoral_genet_id
 | 
| 
 | 
    38     bsym_genet_id
 | 
| 
 | 
    39     reef
 | 
| 
 | 
    40     region
 | 
| 
 | 
    41     latitude
 | 
| 
 | 
    42     longitude
 | 
| 
 | 
    43     geographic_origin
 | 
| 
 | 
    44     sample_location
 | 
| 
 | 
    45     latitude_outplant
 | 
| 
 | 
    46     longitude_outplant
 | 
| 
 | 
    47     depth
 | 
| 
 | 
    48     dist_shore
 | 
| 
 | 
    49     disease_resist
 | 
| 
 | 
    50     bleach_resist
 | 
| 
 | 
    51     mortality
 | 
| 
 | 
    52     tle
 | 
| 
 | 
    53     spawning
 | 
| 
 | 
    54     collector_last_name
 | 
| 
 | 
    55     collector_first_name
 | 
| 
 | 
    56     org
 | 
| 
 | 
    57     collection_date
 | 
| 
 | 
    58     contact_email
 | 
| 
 | 
    59     seq_facility
 | 
| 
 | 
    60     array_version
 | 
| 
 | 
    61     public
 | 
| 
 | 
    62     public_after_date
 | 
| 
0
 | 
    63     </help>
 | 
| 
 | 
    64     <citations>
 | 
| 
 | 
    65     </citations>
 | 
| 
 | 
    66 </tool>
 |