view data_manager/vsnp_excel_fetcher.xml @ 3:4681f7129de9 draft default tip

Uploaded
author greg
date Wed, 06 May 2020 10:10:03 -0400
parents 79fcb638533e
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="vsnp_excel_fetcher" name="vSNP Excel data manager" tool_type="manage_data" profile="18.09" version="0.0.8">
    <description>Download vSNP Excel files</description>
    <requirements>
        <requirement type="package" version="3.7">python</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
    python '$__tool_directory__/vsnp_excel_fetcher.py'
    --dbkey '${all_fasta_source.fields.dbkey}'
    --name '${all_fasta_source.fields.name}'
    --out_file '$out_file'
    --url '$url'
    ]]>
    </command>
    <inputs>
        <param name="all_fasta_source" type="select" label="FASTA reference">
            <options from_data_table="all_fasta"/>
        </param>
        <param name="url" type="text" value="" label="URL to download the Excel file associated with the selected FASTA reference" optional="False" />
    </inputs>
    <outputs>
        <data name="out_file" format="data_manager_json" />
    </outputs>
    <tests>
        <test>
            <param name="all_fasta_source" value="AF2122"/>
            <param name="url" value="https://github.com/USDA-VS/vSNP_reference_options/raw/master/Mycobacterium_AF2122/Mbovis_define_filter.xlsx"/>
            <output name="out_file" value="vsnp_excel.json" compare="contains"/>
        </test>
    </tests>
    <help><![CDATA[
This tool fetches a vSNP Excel file associated with each supported genome reference to populate the vsnp_excel data table.  The dbkey and name fields
in the vsnp data table are inherited from the *all_fasta* data table, so no user entry is necessary.  These public vSNP Excel files are available in GitHub
at https://github.com/USDA-VS/vSNP_reference_options.

 * **Mycobacterium bovis AF2122/97**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Mycobacterium_AF2122/Mbovis_define_filter.xlsx

 * **Brucella abortus bv. 1 str. 9-941**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_abortus1/Bab1_define_filter.xlsx

 * **Brucella abortus strain BER**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_abortus3/Bab3_define_filter.xlsx

 * **Brucella canis ATCC 23365**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_canis/Bcanis_define_filter.xlsx

 * **Brucella ceti TE10759-12**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_ceti2/Bceti2_define_filter.xlsx

 * **Brucella melitensis bv. 1 str. 16M**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_melitensis-bv1/Bmelbv1_define_filter.xlsx

 * **Brucella melitensis bv. 3 str. Ether**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_melitensis-bv3/Bmelbv3_define_filter.xlsx

 * **Brucella melitensis BwIM_SOM_36b**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_melitensis-bv1b/Bmelbv1b_define_filter.xlsx

 * **Brucella melitensis ATCC 23457**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_melitensis-bv2/Bmelbv2_define_filter.xlsx

 * **Brucella ovis ATCC 25840**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_ovis/B_ovis_define_filter.xlsx

 * **Brucella suis 1330**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_suis1/Bsuis1_define_filter.xlsx

 * **Mycobacterium tuberculosis H37Rv**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Mycobacterium_H37/H37_define_filter.xlsx

 * **Mycobacterium avium subsp. paratuberculosis strain Telford**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/para-CP033688/CP033688_define_filter.xlsx

 * **Mycobacterium avium subsp. paratuberculosis K-10**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/para-NC002944/NC_002944_define_filter.xlsx

 * **Brucella suis ATCC 23445**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_suis2/Bsuis2_define_filter.xlsx

 * **Brucella suis bv. 3 str. 686**

   * **Excel file**    https://github.com/USDA-VS/vSNP_reference_options/raw/master/Brucella_suis3/Bsuis3_define_filter.xlsx

    ]]></help>
    <citations>
    </citations>
</tool>