<?xml version="1.0"?>
<macros>

    <token name="@VERSION@">0.5.7</token>

    <xml name="requirements">
        <requirements>
            <requirement type="package" version="@VERSION@">mageck</requirement>
            <requirement type="package" version="3.0.1">r-gplots</requirement>
            <requirement type="package" version="1.8_2">r-xtable</requirement>
            <requirement type="package" version="1.14.2">numpy</requirement>
        </requirements>
    </xml>

    <xml name="version">
        <version_command>mageck -v </version_command>
    </xml>

    <xml name="sort_criteria">
        <param name="sort_criteria" argument="--sort-criteria" type="select" label="Sorting criteria">
            <option value="neg" selected="True">Negative selection</option>
            <option value="pos">positive selection</option>
        </param>
      </xml>

    <xml name="citations">
        <citations>
            <citation type="doi">10.1186/s13059-014-0554-4</citation>
        </citations>
    </xml>
</macros>

<?xml version="1.0"?>
<macros>

    <token name="@VERSION@">0.5.7</token>

    <xml name="requirements">
        <requirements>
            <requirement type="package" version="@VERSION@">mageck</requirement>
            <requirement type="package" version="1.14.2">numpy</requirement>
            <requirement type="package" version="3.0.1">r-gplots</requirement>
            <requirement type="package" version="1.8_2">r-xtable</requirement>

        </requirements>
    </xml>

    <xml name="version">
        <version_command><![CDATA[
            echo $(mageck -v )", numpy version" $([python -c "import numpy; numpy.version.version"])", gplots version" $(R --vanilla --slave -e "library(gplots); cat(sessionInfo()\$otherPkgs\$gplots\$Version)" 2> /dev/null | grep -v -i "WARNING: "), xtable version" $(R --vanilla --slave -e "library(xtable); cat(sessionInfo()\$otherPkgs\$xtable\$Version)" 2> /dev/null | grep -v -i "WARNING: ")
        ]]></version_command>
    </xml>

    <xml name="sort_criteria">
        <param name="sort_criteria" argument="--sort-criteria" type="select" label="Sorting criteria">
            <option value="neg" selected="True">Negative selection</option>
            <option value="pos">positive selection</option>
        </param>
      </xml>

    <xml name="citations">
        <citations>
            <citation type="doi">10.1186/s13059-014-0554-4</citation>
        </citations>
    </xml>
</macros>

Add all requirements to version_command in macros.xml
Add all requirements to version_command in macros.xml
