view tools/ncbi_blast_plus/ncbi_blastdbcmd_info.xml @ 17:697f40151eaf draft

v0.1.05 - Update citation information now GigaScience paper is out
author peterjc
date Fri, 04 Sep 2015 09:45:57 -0400
parents b5f1f599d1fb
children 7f3c448e119b
line wrap: on
line source

<tool id="ncbi_blastdbcmd_info" name="NCBI BLAST+ database info" version="@WRAPPER_VERSION@">
    <description>Show BLAST database information from blastdbcmd</description>
    <macros>
        <token name="@BINARY@">blastdbcmd</token>
        <import>ncbi_macros.xml</import>
    </macros>
    <expand macro="preamble" />
    <command>
blastdbcmd -dbtype $db_opts.db_type -db "${db_opts.database.fields.path}" -info -out "$info"
    </command>
    <inputs>
        <expand macro="input_conditional_choose_db_type" />
    </inputs>
    <outputs>
        <data name="info" format="txt" label="${db_opts.database.fields.name} info" />
    </outputs>
    <tests>
        <!-- Disable for ToolShed where *.loc tests not yet supported
             See https://github.com/peterjc/galaxy_blast/issues/53
        <test>
            <param name="db_opts|db_type" value="prot" />
            <param name="db_opts|database" value="four_human_proteins" />
            <output name="info" file="four_human_proteins.dbinfo.txt" ftype="txt" lines_diff="4" />
        </test>
        <test>
            <param name="db_opts|db_type" value="nucl" />
            <param name="db_opts|database" value="three_human_mRNA" />
            <output name="info" file="three_human_mRNA.dbinfo.txt" ftype="txt" lines_diff="4" />
        </test>
        -->
    </tests>
    <help>
    
**What it does**

Calls the NCBI BLAST+ blastdbcmd command line tool with the -info
switch to give summary information about a BLAST database, such as
the size (number of sequences and total length) and date.

-------

**References**

If you use this Galaxy tool in work leading to a scientific publication please
cite the following papers:

@REFERENCES@
    </help>
    <expand macro="blast_citations" />
</tool>