view data_manager/vsnp_dnaprints_fetcher.xml @ 1:05693c942b1a draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_vsnp_dnaprints commit 02d2967f77e3fa5a18aea63dc84aa9ab418dc165"
author iuc
date Sun, 22 Nov 2020 12:54:59 +0000
parents 19c6d9c66c75
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="vsnp_dnaprints_fetcher" name="vSNP DNAprints data manager" tool_type="manage_data" profile="18.09" version="0.0.8">
    <description>Download vSNP DNAprints files</description>
    <requirements>
        <requirement type="package" version="3.7">python</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
    python '$__tool_directory__/vsnp_dnaprints_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 DNAprints 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://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Mycobacterium_AF2122/NC_002945v4.yml"/>
            <output name="out_file" value="vsnp_dnaprints.json" compare="contains"/>
        </test>
    </tests>
    <help><![CDATA[
This tool fetches a vSNP DNAprints file associated with each supported genome reference to populate the vsnp_dnaprints 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 DNAprints files are available in GitHub
at https://github.com/USDA-VS/vSNP_reference_options.

 * **Mycobacterium bovis AF2122/97**

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Mycobacterium_AF2122/NC_002945v4.yml

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

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_abortus1/NC_006932-NC_006933.yml

 * **Brucella abortus strain BER**

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_abortus3/NZ_CP007682-NZ_CP007683.yml

 * **Brucella canis ATCC 23365**

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_canis/NC_010103-NC_010104.yml

 * **Brucella ceti TE10759-12**

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_ceti2/NC_022905-NC_022906.yml

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

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_melitensis-bv1/NC_003317-NC_003318.yml

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

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_melitensis-bv3/NZ_CP007760-NZ_CP007761.yml

 * **Brucella melitensis BwIM_SOM_36b**

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_melitensis-bv1b/NZ_CP018508-NZ_CP018509.yml

 * **Brucella melitensis ATCC 23457**

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_melitensis-bv2/NC_012441-NC_012442.yml

 * **Brucella ovis ATCC 25840**

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_ovis/NC_009505-NC_009504.yml

 * **Brucella suis 1330**

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_suis1/NC_017251-NC_017250.yml

 * **Mycobacterium tuberculosis H37Rv**

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Mycobacterium_H37/NC_000962.yml

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

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/para-CP033688/CP033688.yml

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

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/para-NC002944/NC_002944.yml

 * **Brucella suis ATCC 23445**

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_suis2/NC_010169-NC_010167.yml

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

   * **DNAprints file**  https://raw.githubusercontent.com/USDA-VS/vSNP_reference_options/master/Brucella_suis3/NZ_CP007719-NZ_CP007718.yml

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