view bcftools_query_list_samples.xml @ 19:8c3ff4ef1190 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bcftools commit 96c0663be587b73bdf09ddf060cb559f28f9eba7
author iuc
date Thu, 12 Jan 2023 15:46:43 +0000
parents 238f78e38a8b
children
line wrap: on
line source

<?xml version='1.0' encoding='utf-8'?>
<tool name="bcftools List Samples" id="bcftools_@EXECUTABLE@_list_samples" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
    <description>in VCF/BCF file</description>
    <macros>
        <token name="@EXECUTABLE@">query</token>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools" />
    <expand macro="requirements" />
    <expand macro="version_command" />
    <command detect_errors="aggressive"><![CDATA[
@PREPARE_ENV@
@PREPARE_INPUT_FILE@
bcftools @EXECUTABLE@ --list-samples
## Primary Input/Outputs
@INPUT_FILE@
| tee $output_file | tr '\n' ','
]]>
    </command>
    <inputs>
        <expand macro="macro_input" />
    </inputs>
    <outputs>
        <data name="output_file" format="tabular"/>
    </outputs>
    <tests>
        <test>
            <param name="input_file" ftype="vcf" value="query.vcf" />
            <output name="output_file">
                <assert_contents>
                    <has_text text="C" />
                    <not_has_text text="A" />
                </assert_contents>
            </output>
        </test>
    </tests>
    <help><![CDATA[
=====================================
 bcftools List Samples @EXECUTABLE@
=====================================

Lists Samples from a VCF/BCF file

@BCFTOOLS_MANPAGE@#@EXECUTABLE@

@BCFTOOLS_WIKI@
]]>
    </help>
    <expand macro="citations" />
</tool>