annotate biaftplink.xml @ 2:f7daa2948340 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit b17cc0d9aecd14784adac77e17aa267fb5739ada
author bgruening
date Tue, 22 Apr 2025 16:04:54 +0000
parents d8dedbc7a037
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
f7daa2948340 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit b17cc0d9aecd14784adac77e17aa267fb5739ada
bgruening
parents: 1
diff changeset
1 <tool id="bia_download" name="FTP Link for Bioimage Archive" version="@VERSION@+galaxy1" profile="22.05">
0
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
2 <description>Download images from Bioimage Archive</description>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
3 <macros>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
4 <import>macros.xml</import>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
5 </macros>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
6 <expand macro="requirements" />
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
7 <command detect_errors="aggressive">
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
8 <![CDATA[
1
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
9 curl -s https://www.ebi.ac.uk/biostudies/api/v1/studies/$accession/info | jq -r .ftpLink >> ftpLink.txt &&
2
f7daa2948340 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit b17cc0d9aecd14784adac77e17aa267fb5739ada
bgruening
parents: 1
diff changeset
10 wget -q -r -l 0 -A "*.tiff,*.tif,*.png,*.jpg,*.zip" -i ftpLink.txt &&
1
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
11
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
12 find . -type f -name "*.zip" | while read zip_file; do
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
13 unzip -o "\$zip_file" -d "\$(dirname "\$zip_file")";
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
14 done
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
15
0
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
16 ]]>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
17 </command>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
18 <inputs>
1
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
19 <param name="accession" type="text" label="The accession ID of BioImages-Core or BioStudies-JCB" help="for eg. S-BIAD570, S-JCBD-201309038"/>
0
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
20 <param name="ftplink_output" type="boolean" label="Generate FTP links?" help="If set, a file containing FTP links associated with the accession will be generated." />
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
21 </inputs>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
22 <outputs>
2
f7daa2948340 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit b17cc0d9aecd14784adac77e17aa267fb5739ada
bgruening
parents: 1
diff changeset
23 <collection name="tiff_images" type="list" label="${tool.name} on ${on_string}: TIFF Images">
f7daa2948340 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit b17cc0d9aecd14784adac77e17aa267fb5739ada
bgruening
parents: 1
diff changeset
24 <discover_datasets pattern="(?P&lt;designation&gt;.*)\.tiff" format="tiff" directory="ftp.ebi.ac.uk" recurse="true" />
f7daa2948340 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit b17cc0d9aecd14784adac77e17aa267fb5739ada
bgruening
parents: 1
diff changeset
25 <discover_datasets pattern="(?P&lt;designation&gt;.*)\.tif" format="tiff" directory="ftp.ebi.ac.uk" recurse="true" />
1
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
26 </collection>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
27 <collection name="png_images" type="list" label="${tool.name} on ${on_string}: PNG Images">
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
28 <discover_datasets pattern="(?P&lt;designation&gt;.*)\.png" format="png" directory="ftp.ebi.ac.uk" recurse="true" />
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
29 </collection>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
30 <collection name="jpg_images" type="list" label="${tool.name} on ${on_string}: JPG Images">
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
31 <discover_datasets pattern="(?P&lt;designation&gt;.*)\.jpg" format="jpg" directory="ftp.ebi.ac.uk" recurse="true" />
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
32 </collection>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
33 <data format="txt" name="ftplinks" from_work_dir="ftpLink.txt" label="${tool.name} on ${on_string}: FTP Links">
0
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
34 <filter>ftplink_output</filter>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
35 </data>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
36 </outputs>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
37 <tests>
1
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
38 <test expect_num_outputs='3'>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
39 <param name="accession" value="S-BIAD961" />
0
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
40 <param name="ftplink_output" value="False" />
2
f7daa2948340 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit b17cc0d9aecd14784adac77e17aa267fb5739ada
bgruening
parents: 1
diff changeset
41 <output_collection name="tiff_images" type="list" count="1">
1
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
42 <element name="Study_Component-4_mznanog_mCherry-AAT">
0
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
43 <assert_contents><has_size value="14092624" /></assert_contents>
1
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
44 </element>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
45 </output_collection>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
46 </test>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
47 <test expect_num_outputs='4'>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
48 <param name="accession" value="S-JCBD-201309038" />
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
49 <param name="ftplink_output" value="True" />
2
f7daa2948340 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit b17cc0d9aecd14784adac77e17aa267fb5739ada
bgruening
parents: 1
diff changeset
50 <output_collection name="tiff_images" type="list" count="2">
1
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
51 <element name="JCB_STIL_serial">
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
52 <assert_contents><has_size value="7446240" /></assert_contents>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
53 </element>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
54 <element name="Sir_JCB_STIL_serial">
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
55 <assert_contents><has_size value="7436060" /></assert_contents>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
56 </element>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
57 </output_collection>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
58 <output name="ftplinks" ftype="txt" file="ftpLink.txt" lines_diff="0" />
0
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
59 </test>
1
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
60 <test expect_num_outputs='3'>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
61 <param name="accession" value="S-BSST564" />
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
62 <param name="ftplink_output" value="False" />
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
63 <output_collection name="jpg_images" type="list" count="4">
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
64 <element name="580-16_P0-2">
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
65 <assert_contents><has_size value="1026747" /></assert_contents>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
66 </element>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
67 </output_collection>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
68 </test>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
69 <test expect_num_outputs='3'>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
70 <param name="accession" value="S-BSST221" />
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
71 <param name="ftplink_output" value="False" />
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
72 <output_collection name="png_images" type="list" count="81">
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
73 <element name="d1 normalized_CXCL13">
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
74 <assert_contents><has_size value="1583299" /></assert_contents>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
75 </element>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
76 <element name="normalized_KI67">
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
77 <assert_contents><has_size value="1722406" /></assert_contents>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
78 </element>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
79 </output_collection>
d8dedbc7a037 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 2723029a5b134c68a21432cc8256ee1e5e111a00
bgruening
parents: 0
diff changeset
80 </test>
0
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
81 </tests>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
82 <help>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
83 <![CDATA[
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
84 **What it does**
2
f7daa2948340 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit b17cc0d9aecd14784adac77e17aa267fb5739ada
bgruening
parents: 1
diff changeset
85 This tool downloads images from the Bioimage Archive and optionally outputs FTP links associated with the input accession. The tools currently supports downloading TIFF, PNG and JPG formats that are supported by Galaxy.
0
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
86 ]]>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
87 </help>
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
88 <expand macro="citations" />
3085096f2b99 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools commit 04eb6bf2ffe44b87f8c12134ac3bee33656f0673
bgruening
parents:
diff changeset
89 </tool>