I have been trying to get a program I wrote to work in Galaxy, but I can't seem to get it to initialize at all. I don't have any problems running the local Galaxy instance itself, but when I do my program is not available. As far as I can tell, I've followed the instruction on Galaxy's website closely so I'm not sure what is wrong.
Here is my xml config file up to the the tests section (I haven't gotten around to troubleshooting the outputs section yet):
<tool id="AP" name="AlignmentProcessor" version="1.2">
<description>will split a multi-fasta alignment, filter each gene, and convert the output to phylip or axt.</description>
<!-- Define command to be passed to program. -->
<command>python3 $__tool_directory__/AlignmentProcessor/AlignmentProcessor.py $input $output $reference --$outputType -p $percent --$retainStops </command>
<inputs>
<param format="fasta" name="input" type="data" label="Source file" help="Fasta alignment file"/>
<param name="reference" type="text" help="Name of reference species as it appears in the alignment"/>
<!-- Specify phylip or axt. -->
<conditional name="outputType">
<param name="filetypeSelector" type="selector" label="Choose format to convert files to.">
<option value="phylip" selected="True">Phylip format</option>
<option value="axt">AXT format</option>
</param>
</conditional>
<!-- Hide percentage and retainStops in expandable menu. -->
<section name="adv" title="Advanced Options" expanded="False">
<param name="percent" type="float" help="Minimum percent of nucleotides requided to retain filtered sequences."/>
<param name="retainStops" type="boolean" selected="False" help="Keep sequences which contain premature stop codons."/>
</section>
</inputs>
<outputs>
<collection format="outputType" name="output"/>
</outputs>
</tool>
And here is the section definition I added to tool_conf.xml.main:
<toolbox> <section name="AlignmentProcessor" id="AP"> <tool file="tools/AlignmentProcessor/alignmentProcessor.xml"/>
</section>
Any help will be greatly appreciated.