<commit_before><tool id="feht" name="feht" version="0.1.0">
    <description>A commandline program to automatically identify makers predictive of groups.</description>
    <requirements>
        <requirement type="package" version="1.1.0">feht</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
        feht -i $metadata -d $data_file -m $binary_or_snp > output.txt
    ]]></command>
    <inputs>
        <param name="metadata" type="data" format="txt, csv" label="Delimited Metadata Input"/>
        <param name="data_file" type="data" format="txt, csv" label="Datafile Input"/>
        <param name="binary_or_snp" type="select" label="Pick Binary or SNP">
            <option value="snp">SNP</option>
            <option value="binary">Binary</option>
        </param>
        <param name="delimiter_type" type="select" label="Metadata's delimiter type">
            <option value="\t">Tab (\t)</option>
            <option value=",">Comma (,)</option>
        </param>
    </inputs>
    <outputs>
        <data format="tabular" name="output.txt" from_work_dir="output.txt" label="output.txt"/>
    </outputs>
    <tests><commit_msg>Adding 's to input.<commit_after><tool id="feht" name="feht" version="0.1.0">
    <description>A commandline program to automatically identify makers predictive of groups.</description>
    <requirements>
        <requirement type="package" version="1.1.0">feht</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
        feht -i '$metadata' -d '$data_file' -m '$binary_or_snp' > output.txt
    ]]></command>
    <inputs>
        <param name="metadata" type="data" format="txt, csv" label="Delimited Metadata Input"/>
        <param name="data_file" type="data" format="txt, csv" label="Datafile Input"/>
        <param name="binary_or_snp" type="select" label="Pick Binary or SNP">
            <option value="snp">SNP</option>
            <option value="binary">Binary</option>
        </param>
        <param name="delimiter_type" type="select" label="Metadata's delimiter type">
            <option value="\t">Tab (\t)</option>
            <option value=",">Comma (,)</option>
        </param>
    </inputs>
    <outputs>
        <data format="tabular" name="output.txt" from_work_dir="output.txt" label="output.txt"/>
    </outputs>
    <tests>
{'fraction_non_alphanumeric': 0.16879795396419436, 'fraction_numerical': 0.005115089514066497, 'mean_word_length': 3.322283609576427, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4184946', 'n_tokens_mistral': 728, 'n_tokens_neox': 702, 'n_words': 162}