annotate segalign.xml @ 23:e9bf680c292b draft default tip

planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
author richard-burhans
date Mon, 19 Aug 2024 18:45:15 +0000
parents cefa7625d6cb
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
1 <tool id="segalign" name="SegAlign" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
2 <description>A Scalable GPU System for Pairwise Whole Genome Alignments based on LASTZ's seed-filter-extend paradigm</description>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
3 <macros>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
4 <import>macros.xml</import>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
5 <import>sequence_options.xml</import>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
6 <import>scoring_options.xml</import>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
7 <import>seeding_options.xml</import>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
8 <import>ungapped_extension_options.xml</import>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
9 <import>gapped_extension_options.xml</import>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
10 <import>output_options.xml</import>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
11 <import>system_options.xml</import>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
12 </macros>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
13 <expand macro="edam_ontology"/>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
14 <expand macro="requirements"/>
5
75e15ba3b4c1 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 9de834425f3b28970d8926dba9839a2132b1366d
richard-burhans
parents: 4
diff changeset
15 <required_files>
10
ec709ce3d91b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 701d5b6d0b25dbd9d2a8c08234f3aca7ef502131
richard-burhans
parents: 9
diff changeset
16 <include path="diagonal_partition.py"/>
5
75e15ba3b4c1 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 9de834425f3b28970d8926dba9839a2132b1366d
richard-burhans
parents: 4
diff changeset
17 <include path="lastz-cmd.ini"/>
75e15ba3b4c1 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 9de834425f3b28970d8926dba9839a2132b1366d
richard-burhans
parents: 4
diff changeset
18 <include path="package_output.py"/>
8
150de8a3954a planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 11132ef8b4103731b6f5860ea736bf332a06e303
richard-burhans
parents: 6
diff changeset
19 <include path="runner.py"/>
5
75e15ba3b4c1 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 9de834425f3b28970d8926dba9839a2132b1366d
richard-burhans
parents: 4
diff changeset
20 </required_files>
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
21 <command detect_errors="exit_code"><![CDATA[
16
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
22 ## Convert input sequences to 2bit -------------------------------------
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
23
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
24 mkdir -p "\$(pwd)/work" &&
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
25 faToTwoBit <(gzip -cdfq '$target') "\$(pwd)/work/ref.2bit" &&
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
26 faToTwoBit <(gzip -cdfq '$query') "\$(pwd)/work/query.2bit" &&
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
27
16
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
28 ## Run SegAlign --------------------------------------------------------
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
29
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
30 ## explicitly calling python to bypass a pulsar bug
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
31 ## https://github.com/galaxyproject/pulsar/issues/341
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
32 python '$__tool_directory__/runner.py'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
33 --output-type tarball
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
34 --output-file '$segalign_output'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
35 --diagonal-partition
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
36 --num-cpu \${GALAXY_SLOTS:-2}
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
37 --tool_directory '$__tool_directory__'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
38 '$target'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
39 '$query'
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
40
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
41 ## Sequence Options ----------------------------------------------------
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
42
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
43 --strand '$sequence_options.strand_selector'
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
44
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
45 ## Scoring Options -----------------------------------------------------
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
46
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
47 #set $scoring_pathname = str($scoring_options.scoring)
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
48 #if $scoring_pathname != "None":
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
49 --scoring '$scoring_pathname'
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
50 #end if
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
51 #if str($scoring_options.ambiguous_selector) != "x"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
52 #if str($scoring_options.set_ambiguous_params_selector) == "true"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
53 #set $argument_value = ','.join($scoring_options.ambiguous_selector, $scoring_options.ambiguous_reward, $scoring_options.ambiguous_penalty)
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
54 --ambiguous '$argument_value'
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
55 #else
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
56 --ambiguous '$ambiguous_selector'
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
57 #end if
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
58 #end if
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
59
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
60 ## Seeding Options -----------------------------------------------------
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
61
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
62 #if str($seeding_options.seed.seed_selector) == "custom"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
63 --seed '$seeding_options.seed.custom_seed'
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
64 #else
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
65 --seed '$seeding_options.seed.seed_selector'
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
66 #end if
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
67 --step '$seeding_options.step'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
68 #if str($seeding_options.notransition) == "true"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
69 --notransition
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
70 #end if
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
71
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
72 ## Ungapped Extension Options ------------------------------------------
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
73
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
74 --xdrop '$ungapped_extension_options.xdrop'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
75 --hspthresh '$ungapped_extension_options.hspthresh'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
76 #if str($ungapped_extension_options.noentropy) == "true"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
77 --noentropy
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
78 #end if
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
79
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
80 ## Gapped Extension Options --------------------------------------------
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
81
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
82 --ydrop '$gapped_extension_options.ydrop'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
83 #if str($gapped_extension_options.gappedthresh) != ""
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
84 --gappedthresh '$gapped_extension_options.gappedthresh'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
85 #end if
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
86 #if str($gapped_extension_options.notrivial) == "true"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
87 --notrivial
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
88 #end if
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
89
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
90 ## Output Options -----------------------------------------------------
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
91
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
92 #if str($output_options.format.format_selector) == "bam"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
93 --format '$output_options.format.bam_options'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
94 #else if str($output_options.format.format_selector) == "general_def"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
95 --format general-
16
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
96 #else if str($output_options.format.format_selector) == "general_full"
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
97 --format 'general-:${output_options.format.fields}'
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
98
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
99 #else if str($output_options.format.format_selector) == "maf"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
100 --format '$output_options.format.maf_type'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
101 #else if str($output_options.format.format_selector) == "blastn"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
102 --format=BLASTN-
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
103 #else if str($output_options.format.format_selector) == "differences"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
104 --format=differences
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
105 #end if
16
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
106 ## todo :: rplot, bam
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
107 ## --action:target=multiple
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
108 ## $output_format.rplot
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
109 ## .if str( $output_format.out.format ) == "bam":
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
110 ## | samtools sort -@\${GALAXY_SLOTS:-2} -T "\${TMPDIR:-.}" -O bam -o '${output}'
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
111 ## .else:
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
112 ## > '${output}'
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
113 ## .end if
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
114 ## .if $output_format.rplot:
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
115 ## &&
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
116 ## Rscript $r_plot > /dev/null 2>&1
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
117 ## .end if
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
118
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
119 ## System Options -----------------------------------------------------
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
120
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
121 --wga_chunk_size '$system_options.wga_chunk_size'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
122 --lastz_interval_size '$system_options.lastz_interval_size'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
123 --seq_block_size '$system_options.seq_block_size'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
124 --num_gpu '$system_options.num_gpu'
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
125 #if str($system_options.debug) == "true"
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
126 --debug
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
127 #end if
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
128
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
129 ## Package Output ----------------------------------------------------
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
130
15
99ee8d6f6815 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a7aa8a6dc21a86dbe51a4dd2b1c3d40491415ff2
richard-burhans
parents: 14
diff changeset
131 &&
99ee8d6f6815 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a7aa8a6dc21a86dbe51a4dd2b1c3d40491415ff2
richard-burhans
parents: 14
diff changeset
132 python '$__tool_directory__/package_output.py'
99ee8d6f6815 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a7aa8a6dc21a86dbe51a4dd2b1c3d40491415ff2
richard-burhans
parents: 14
diff changeset
133 --tool_directory '$__tool_directory__'
16
4966e095e3c3 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 6cf972d7f1c9ecb097994494a27d00906c6c3e4d
richard-burhans
parents: 15
diff changeset
134 --format_selector '$output_options.format.format_selector'
19
cefa7625d6cb planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 2840545abeeca2dc0a6e6df138633e561d379e52
richard-burhans
parents: 16
diff changeset
135 #if str($system_options.debug) == "true"
cefa7625d6cb planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 2840545abeeca2dc0a6e6df138633e561d379e52
richard-burhans
parents: 16
diff changeset
136 --debug
cefa7625d6cb planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 2840545abeeca2dc0a6e6df138633e561d379e52
richard-burhans
parents: 16
diff changeset
137 #end if
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
138
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
139 ]]></command>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
140 <inputs>
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
141 <param name="target" type="data" format="fasta,fasta.gz" label="Target sequence file in FASTA format"/>
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
142 <param name="query" type="data" format="fasta,fasta.gz" label="Query sequence file in FASTA format"/>
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
143 <expand macro="sequence_options"/>
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
144 <expand macro="scoring_options"/>
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
145 <expand macro="seeding_options"/>
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
146 <expand macro="ungapped_extension_options"/>
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
147 <expand macro="gapped_extension_options"/>
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
148 <expand macro="output_options"/>
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
149 <expand macro="system_options"/>
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
150 </inputs>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
151 <outputs>
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
152 <data name="segalign_output" format="tgz" from_work_dir="data_package.tgz" label="SegAlign on ${on_string}"/>
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
153 </outputs>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
154 <tests>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
155 <test expect_num_outputs="1" expect_test_failure="true">
6
6c95c380bfa7 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a4be517dbe8277bed184b915721964820d7a3af0
richard-burhans
parents: 5
diff changeset
156 <param name="target" value="hg38.chr20.chunk.fa.gz" ftype="fasta.gz"/>
6c95c380bfa7 planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a4be517dbe8277bed184b915721964820d7a3af0
richard-burhans
parents: 5
diff changeset
157 <param name="query" value="mm39.chr2.chunk.fa.gz" ftype="fasta.gz"/>
14
f9e91add973c planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit eb6ee047d39760f2596b6e343e2dc3898fafc5cd
richard-burhans
parents: 12
diff changeset
158 <output name="segalign_output" ftype="tgz">
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
159 <assert_contents>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
160 <has_archive_member path="galaxy/commands.json"/>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
161 </assert_contents>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
162 </output>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
163 </test>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
164 </tests>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
165 <help><![CDATA[
23
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
166 SegAlign is a scalable, GPU-accelerated system for computing pairwise WGA. SegAlign is based on the standard seed-filter-extend heuristic, in which the filtering stage dominates the runtime (e.g. 98% for human-mouse WGA), and is accelerated using GPU(s). SegAlign was designed as a faster replacement for lastz pairwise aligner.
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
167
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
168 **Using this tool**
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
169
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
170 .. class:: warningmark
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
171
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
172 This tool is the first part of a two-step process for generation of paiwrise alignments. The output of this tool is used as an input to **Batched LASTZ** tool. The *Batched LASTZ** can be found in the list of tool of this Galaxy instance.
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
173
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
174 **What it does**
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
175
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
176 SegAlign processes **Target** and **Query** sequences to identify highly similar regions where gapped extension will be performed to create actual alignments. The actual alignments are generated by **Batched LASTZ** that should be run on the output of this tool.
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
177
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
178 .. class:: infomark
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
179
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
180 Although this tool is only the first part of the alignment process all parameters related to generation of alignments are set **during this stage**.
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
181
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
182 **Scoring Options**
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
183
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
184 By default the HOXD70 substitution scores are used (from `Chiaromonte et al. 2002 <https://www.ncbi.nlm.nih.gov/pubmed/11928468>`_)::
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
185
23
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
186 bad_score = X:-1000 # used for sub['X'][*] and sub[*]['X']
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
187 fill_score = -100 # used when sub[*][*] is not defined
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
188 gap_open_penalty = 400
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
189 gap_extend_penalty = 30
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
190
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
191 A C G T
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
192 A 91 -114 -31 -123
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
193 C -114 100 -125 -31
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
194 G -31 -125 100 -114
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
195 T -123 -31 -114 91
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
196
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
197 Matrix can be supplied as an input to **Read the substitution scores** parameter in *Scoring* section. Substitution matrix can be inferred from your data using another LASTZ-based tool (LASTZ_D: Infer substitution scores).
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
198
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
199 **Output Options**
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
200
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
201 .. class:: infomark
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
202
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
203 The final format in which alignmnets will be generated by **Batched LASTZ** are set here.
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
204
e9bf680c292b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit a2f684fa36d99b0d8d03f2b802d08b56b8545bc6
richard-burhans
parents: 19
diff changeset
205 The default output is a MAF alignment file. Other formats can be configured in *Output Options* section. See LASTZ manual <https://lastz.github.io/lastz/#formats>`_ for description of possible formats.
0
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
206 ]]></help>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
207 <expand macro="citations"/>
5c72425b7f1b planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/segalign commit 98a4dd44360447aa96d92143384d78e116d7581b
richard-burhans
parents:
diff changeset
208 </tool>