annotate fasta_merge_files_and_filter_unique_sequences.xml @ 6:f546e7278f04 draft default tip

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 0ce1979ec9cf851f85ad74c78a3cc88826a2f070"
author galaxyp
date Mon, 23 Nov 2020 19:35:09 +0000
parents 650d553c1fda
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
1 <tool id="fasta_merge_files_and_filter_unique_sequences" name="FASTA Merge Files and Filter Unique Sequences" version="1.2.0">
1
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
2 <description>Concatenate FASTA database files together</description>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
3 <requirements>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
4 <requirement type="package" version="2.7.12">python</requirement>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
5 </requirements>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
6 <command>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
7 python '$__tool_directory__/fasta_merge_files_and_filter_unique_sequences.py'
3
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
8 '$output' $uniqueness_criterion '$accession_parser'
4
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
9
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
10 #if $batchmode.processmode == 'merge':
5
650d553c1fda planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit e1c8e2a34c95b413ff0a0e97c90593ceb75f8223
galaxyp
parents: 4
diff changeset
11 #for $input in $batchmode.input_fastas:
650d553c1fda planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit e1c8e2a34c95b413ff0a0e97c90593ceb75f8223
galaxyp
parents: 4
diff changeset
12 '$input'
650d553c1fda planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit e1c8e2a34c95b413ff0a0e97c90593ceb75f8223
galaxyp
parents: 4
diff changeset
13 #end for
4
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
14 #else:
5
650d553c1fda planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit e1c8e2a34c95b413ff0a0e97c90593ceb75f8223
galaxyp
parents: 4
diff changeset
15 #for $input in $batchmode.input_fastas:
650d553c1fda planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit e1c8e2a34c95b413ff0a0e97c90593ceb75f8223
galaxyp
parents: 4
diff changeset
16 '$input.input_fasta'
650d553c1fda planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit e1c8e2a34c95b413ff0a0e97c90593ceb75f8223
galaxyp
parents: 4
diff changeset
17 #end for
4
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
18 #end if
1
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
19 </command>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
20 <inputs>
4
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
21 <conditional name="batchmode">
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
22 <param name="processmode" type="select" label="Run in batch mode?" help="The 'merge all' mode produces one output FASTA for all input FASTA files. The individual mode generates one FASTA file for each set of input FASTAs. For example, if the tool is given 2 collections of 10 FASTAs, it will merge the collections pairwise to create an output collection of 10 FASTAs." display="radio">
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
23 <option value="individual" selected="True">Merge individual FASTAs (output collection if input is collection)</option>
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
24 <option value="merge">Merge all FASTAs (always output a single FASTA)</option>
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
25 </param>
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
26 <when value="individual">
5
650d553c1fda planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit e1c8e2a34c95b413ff0a0e97c90593ceb75f8223
galaxyp
parents: 4
diff changeset
27 <repeat name="input_fastas" title="Input FASTA File(s)">
650d553c1fda planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit e1c8e2a34c95b413ff0a0e97c90593ceb75f8223
galaxyp
parents: 4
diff changeset
28 <param name="input_fasta" format="fasta" type="data" label="FASTA File"/>
650d553c1fda planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit e1c8e2a34c95b413ff0a0e97c90593ceb75f8223
galaxyp
parents: 4
diff changeset
29 </repeat>
4
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
30 </when>
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
31 <when value="merge">
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
32 <param name="input_fastas" type="data" format="fasta" multiple="True" label="FASTA file" />
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
33 </when>
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
34 </conditional>
2
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
35 <param name="uniqueness_criterion" type="select" label="How are sequences judged to be unique?">
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
36 <option value="sequence" selected="true">Accession and Sequence</option>
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
37 <option value="accession">Accession Only</option>
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
38 </param>
3
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
39 <param name="accession_parser" type="text" label="Accession Parsing Regex" value="^&gt;([^ ]+).*$" help="Regular expression with 1 capture group; the capture group is the accession (which must be unique)">
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
40 <sanitizer>
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
41 <valid>
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
42 <add preset="string.printable"/>
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
43 <remove value="&#92;" />
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
44 <remove value="&apos;" />
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
45 </valid>
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
46 <mapping initial="none">
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
47 <add source="&#92;" target="__backslash__" />
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
48 <add source="&apos;" target="__sq__"/>
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
49 </mapping>
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
50 </sanitizer>
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
51 </param>
1
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
52 </inputs>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
53 <outputs>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
54 <data format="fasta" name="output" label="Merged and Filtered FASTA from ${on_string}"/>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
55 </outputs>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
56 <tests>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
57 <test>
4
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
58 <param name="input_fastas" value="1.fa,2.fa" ftype="fasta" />
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
59 <param name="processmode" value="merge" />
2
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
60 <param name="uniqueness_criterion" value="sequence" />
3
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
61 <param name="accession_parser" value="^&gt;([^ |]+).*$" />
2
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
62 <output name="output" file="res-sequence.fa" ftype="fasta" />
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
63 <assert_stdout>
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
64 <has_line line="Skipping protein '&gt;one_2' with duplicate sequence (first seen as '&gt;one')" />
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
65 <has_line line="Skipping protein '&gt;two_2' with duplicate sequence (first seen as '&gt;two')" />
3
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
66 <has_line line="Skipping protein '&gt;three_2|456' with duplicate accession" />
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
67 <has_line line="Skipping protein '&gt;three_2 789' with duplicate accession" />
2
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
68 </assert_stdout>
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
69 </test>
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
70 <test>
4
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
71 <param name="input_fastas" value="1.fa,2.fa" ftype="fasta" />
8462a4e9f86e planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit b4c90f4b5d7e9b233f1150dbc9e5dcbe156809e8
galaxyp
parents: 3
diff changeset
72 <param name="processmode" value="merge" />
2
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
73 <param name="uniqueness_criterion" value="accession" />
3
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
74 <param name="accession_parser" value="^&gt;([^ |]+).*$" />
2
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
75 <output name="output" file="res-accession.fa" ftype="fasta" />
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
76 <assert_stdout>
3
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
77 <has_line line="Skipping protein '&gt;three_2|456' with duplicate accession" />
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
78 <has_line line="Skipping protein '&gt;three_2 789' with duplicate accession" />
2
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
79 </assert_stdout>
1
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
80 </test>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
81 </tests>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
82 <help>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
83 <![CDATA[
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
84 **What it does**
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
85
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
86 Concatenate FASTA database files together.
2
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
87
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
88 If the uniqueness criterion is "Accession and Sequence", only the first appearence of each unique sequence will appear in the output.
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
89 Otherwise, duplicate sequences are allowed, but only the first appearance of each accession will appear in the output.
379c41d859aa planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 240d1baaa04767c7d6ad6e36c854c2b54093e92f
galaxyp
parents: 1
diff changeset
90
3
9ad0d336e5ed planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 96128b1b32e31c88f08201fd59a07fb1057aafbe
galaxyp
parents: 2
diff changeset
91 The default accession parser will treat everything in the header before the first space as the accession.
1
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
92
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
93 ------
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
94
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
95 **Citation**
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
96
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
97 If you use this tool in Galaxy, please the GalaxyP developers at: https://github.com/galaxyproteomics/
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
98
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
99 ]]>
74144834b0bd planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/fasta_merge_files_and_filter_unique_sequences commit 9f9eba8df62b4db1ef35718d880a1bcda7457b99
galaxyp
parents: 0
diff changeset
100 </help>
0
2904d46167da Uploaded
galaxyp
parents:
diff changeset
101 </tool>