forked from bgruening/galaxytools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerate-permit-list.xml
More file actions
52 lines (52 loc) · 2.86 KB
/
generate-permit-list.xml
File metadata and controls
52 lines (52 loc) · 2.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<tool id="alevin_fry_generate_permit_list" name="Alevin-Fry Generate Permit List" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5" profile="@PROFILE_VERSION@">
<description>Generate a permit list of barcodes from a RAD file</description>
<macros>
<import>macros.xml</import>
</macros>
<expand macro="requirements"/>
<command detect_errors="exit_code"><![CDATA[
mkdir inputs &&
ln -s '$input' inputs/map.rad &&
mkdir outputs &&
##ln -s '$output1' outputs &&
alevin-fry generate-permit-list $KNEEDISTANCE --input inputs --expected-ori '$EXPECTEDORI' --output-dir outputs
]]></command>
<inputs>
<param type="data" name="input" label="map RAD file" format="rad" help="The input file has to be called 'map.rad' for Alevin Fry to work"/>
<param type="select" name="EXPECTEDORI" label="Expected orientation">
<option value="fw">fw</option>
<option value="rc">rc</option>
<option value="both">both</option>
<option value="either">either</option>
</param>
<param type="boolean" name="KNEEDISTANCE" truevalue="--knee-distance" falsevalue="" label="Attempt to determine the number of barcodes to keep using the knee-distance method."/>
<param name="barcode_selection" type="select" label="" help="TODO">
<option value="knee-distance">Knee-distance method</option>
<option value="force-cells">TODO: force-cells</option>
<option value="valid-bc">TODO: valid-bc</option>
<option value="unfiltered-pl">TODO: unfiltered-pl</option>
<option value="expect-cells">TODO: expect-cells</option>
</param>
</inputs>
<outputs>
<data name="output1" label="${tool.name} on ${on_string}: all_freq" format="binary" from_work_dir="outputs/all_freq.bin"/>
<data name="output2" label="${tool.name} on ${on_string}: permit_freq" format="binary" from_work_dir="outputs/permit_freq.bin"/>
<data name="output3" label="${tool.name} on ${on_string}: permit_map" format="binary" from_work_dir="outputs/permit_map.bin"/>
<data name="output4" label="${tool.name} on ${on_string}: generate_permit_list" format="json" from_work_dir="outputs/generate_permit_list.json"/>
</outputs>
<tests>
<test expect_num_outputs="4">
<param name="input" value="gpltest/input"/>
<param name="EXPECTEDORI" value="either"/>
<param name="KNEEDISTANCE" value="true"/>
<output name="output1" file="gpltest/output/all_freq.bin"/>
<output name="output2" file="gpltest/output/permit_freq.bin"/>
<output name="output3" file="gpltest/output/permit_map.bin"/>
<output name="output4" file="gpltest/output/generate_permit_list.json"/>
</test>
</tests>
<help>
help
</help>
<expand macro="citations"/>
</tool>