Mercurial > repos > immport-devteam > txt_diagnosis
annotate txtDiagnosis.xml @ 1:b94872d65050 draft default tip
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
author | azomics |
---|---|
date | Thu, 16 Jul 2020 07:35:26 -0400 |
parents | |
children |
rev | line source |
---|---|
1
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
1 <tool id="txt_diagnosis" name="Check data" version="1.1+galaxy0" profile="18.01"> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
2 <description> in txt-converted FCS files</description> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
3 <requirements> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
4 <requirement type="package" version="0.17.1">pandas</requirement> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
5 </requirements> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
6 <stdio> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
7 <exit_code range="1:" /> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
8 </stdio> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
9 <command><![CDATA[ |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
10 python '$__tool_directory__/txtdiagnosis.py' -i '${input}' -o '${output}' -n '${input.name}' |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
11 ]]> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
12 </command> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
13 <inputs> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
14 <param format="flowtext" name="input" type="data" label="Text file to check"/> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
15 </inputs> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
16 <outputs> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
17 <data format="txt" name="output" label="Report on ${input.name}"/> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
18 </outputs> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
19 <tests> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
20 <test> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
21 <param name="input" value="input_error.txt"/> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
22 <output name="output" file="output_error.txt"> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
23 <assert_contents> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
24 <has_text_matching expression="WARNING: line 6 in .* contains non-numeric results"/> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
25 </assert_contents> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
26 </output> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
27 </test> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
28 <test> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
29 <param name="input" value="input_noerror.txt"/> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
30 <output name="output" file="output_noerror.txt"> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
31 <assert_contents> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
32 <has_text text="No errors in the file."/> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
33 </assert_contents> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
34 </output> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
35 </test> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
36 </tests> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
37 <help><![CDATA[ |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
38 This tool looks for potential errors in txt-converted FCS files. |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
39 ----- |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
40 **Input** |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
41 This diagnosis tools reads in text files, and checks that the data is all numeric. |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
42 **Output** |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
43 The output is a report with the errors and corresponding line numbers. |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
44 ----- |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
45 **Example** |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
46 *Input*:: |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
47 Marker1 Marker2 Marker3 |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
48 34 45 12 |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
49 NaN 65 10 |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
50 34 45 12 |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
51 33 NaN 10 |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
52 34 45 12 |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
53 33 65 10 |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
54 34 45 12 |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
55 33 65 NaN |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
56 34 45 12 |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
57 33 65 10 |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
58 *Output*:: |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
59 WARNING: line 2 in example_file.txt contains non-numeric results |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
60 WARNING: line 4 in example_file.txt contains non-numeric results |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
61 WARNING: line 8 in example_file.txt contains non-numeric results |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
62 ]]> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
63 </help> |
b94872d65050
"planemo upload for repository https://github.com/ImmPortDB/immport-galaxy-tools/tree/master/flowtools/txt_diagnosis commit 41bbf946c933eb16a0a7d0eac7928e7bf7f465ca"
azomics
parents:
diff
changeset
|
64 </tool> |