/var/lib/mobyle/programs/extend_align.xml is in mobyle-programs 5.1.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | <?xml version="1.0" encoding="ISO-8859-1"?>
<!-- XML Authors: Herve Menager Bertrand Neron -->
<!-- 'Biological Software and Databases' Group, Institut Pasteur, Paris. -->
<!-- Distributed under LGPLv2 Licence. Please refer to the COPYING.LIB document. -->
<program>
<head>
<name>extend_align</name>
<version>1.0</version>
<doc>
<title>concatenate several alignments from several files</title>
<description>
<text lang="en">This tool concatenates multiple MSAs.</text>
</description>
<comment>
<div xmlns="http://www.w3.org/1999/xhtml">
<p>for instance</p>
fisrt alignment
<pre>
>seq1
aaaaggg
>seq2
aaaa--g
>seq3
aa--ggg
</pre>
second alignment
<pre>
>seq1
ccccttt
>seq2
cccc--t
>seq3
cc--ttt
</pre>
the resulting alignment if the linker is "---" will be:
<pre>
>seq1
aaaaggg---ccccttt
>seq2
aaaa--g---cccc--t
>seq3
aa--ggg---cc--ttt
</pre>
two methods can be used to extend the aligenmt:
<ol>
<li>by sequence order: in this case the ids of sequences could be different.
and the id of each sequence in the resulting alignment is the concatenation of the respective sequence id
(All Alignments MUST have the same number of sequences)</li>
<li>by sequence id: in this case the extension is made based on the sequence ids.</li>
</ol>
</div>
</comment>
<authors>NĂ©ron, B.</authors>
</doc>
<category>alignment:multiple</category>
<command>extend_align</command>
</head>
<parameters>
<parameter>
<name>extend_method</name>
<prompt>method to extend the alignment</prompt>
<type>
<datatype>
<class>Choice</class>
</datatype>
</type>
<vdef>
<value>null</value>
</vdef>
<vlist>
<velem undef="1">
<value>null</value>
<label>by order</label>
</velem>
<velem>
<value>id</value>
<label>by id</label>
</velem>
</vlist>
<format>
<code proglang="perl">( defined $value and value != $vdef)? " --id ":"" </code>
<code proglang="python">( "" , " --id ")[value is not None and value != vdef]</code>
</format>
<argpos>5</argpos>
<comment>
<div xmlns="http://www.w3.org/1999/xhtml">
<ol>
<li>by sequence order: in this case the ids of sequences could be different.
and the id of each sequence in the resulting alignment is the concatenation of the respective sequence id
(All Alignments MUST have the same number of sequences)</li>
<li>by sequence id: in this case the extension is made based on the sequence ids.</li>
</ol>
</div>
</comment>
</parameter>
<parameter ismandatory="1" issimple="1">
<name>fasta_align</name>
<prompt lang="en">alignment</prompt>
<type>
<datatype>
<!-- MultipleAlignment Datatype is a "Multiple type, meaning it accepts multiple alignment files" -->
<class>MultipleAlignment</class>
</datatype>
<dataFormat>FASTA</dataFormat>
</type>
<format>
<code proglang="perl">" -i $value fasta"</code>
<code proglang="python">" -i " + value + " fasta"</code>
</format>
<argpos>10</argpos>
<separator> FASTA -i </separator>
</parameter>
<parameter>
<name>linker</name>
<prompt lang="en">sequence linker</prompt>
<type>
<datatype>
<class>String</class>
</datatype>
</type>
<format>
<code proglang="perl">(defined $value)?"": " -l $value"</code>
<code proglang="python">("", " -l " + str( value ) )[value is not None]</code>
</format>
<argpos>100</argpos>
</parameter>
<parameter isstdout="1">
<name>concatenated_alignment</name>
<prompt lang="en">concatenated alignment</prompt>
<type>
<datatype>
<class>Alignment</class>
</datatype>
<dataFormat>FASTA</dataFormat>
</type>
<filenames>
<code proglang="perl">"extend_align.out"</code>
<code proglang="python">"extend_align.out"</code>
</filenames>
</parameter>
</parameters>
</program>
|