Mercurial > repos > brinkmanlab > microbedb
annotate all_fasta.xml @ 5:67447b96c3ff draft
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit 5c194fba785b48181a68d413b2f70eaca23ff6db"
author | brinkmanlab |
---|---|
date | Mon, 09 Nov 2020 01:09:50 +0000 |
parents | 69186a3c9e76 |
children | 6ad04790da12 |
rev | line source |
---|---|
4
69186a3c9e76
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit ada9e882d260555d79c64e38a8ce26b1e84966f0"
brinkmanlab
parents:
3
diff
changeset
|
1 <tool id="microbedb_all_fasta" name="MicrobeDB All FASTA" version="1.0" tool_type="manage_data" profile="18.09"> |
0
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
2 <description>Load all fasta files from MicrobeDB into the all_fasta data table</description> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
3 <edam_topics> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
4 <edam_topic>topic_3301</edam_topic> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
5 <edam_topic>topic_0080</edam_topic> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
6 <edam_topic>topic_0091</edam_topic> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
7 </edam_topics> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
8 <edam_operations> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
9 <edam_operation>operation_2422</edam_operation> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
10 </edam_operations> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
11 <requirements> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
12 <requirement type="package" version="3">sqlite</requirement> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
13 </requirements> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
14 <version_command>sqlite3 --version</version_command> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
15 <command><![CDATA[ |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
16 #import os.path |
3
7b432c6ff465
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit 2b1f9519ca843b0f269b19c9b81506640bb4aa36"
brinkmanlab
parents:
2
diff
changeset
|
17 sqlite3 -readonly $db '.param set :basepath ${os.path.dirname(str($db))}' '.read $__tool_directory__/all_fasta.sql' > '$output' |
0
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
18 #if $builds |
5
67447b96c3ff
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit 5c194fba785b48181a68d413b2f70eaca23ff6db"
brinkmanlab
parents:
4
diff
changeset
|
19 && touch $__app__.config.builds_file_path && sqlite3 -readonly $db < '$builds_sql' |
2
258826db8291
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit 668759e2fc5d53432092d7c1395b402385733171"
brinkmanlab
parents:
0
diff
changeset
|
20 #end if |
0
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
21 ]]></command> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
22 <configfiles> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
23 <configfile name="builds_sql"><![CDATA[ |
2
258826db8291
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit 668759e2fc5d53432092d7c1395b402385733171"
brinkmanlab
parents:
0
diff
changeset
|
24 #include $__tool_directory__+"/builds.sql" |
0
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
25 ]]></configfile> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
26 </configfiles> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
27 <inputs> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
28 <param name="db" type="text" value="/cvmfs/microbedb.brinkmanlab.ca/microbedb.sqlite" label="Path" help="Absolute path to microbedb.sqlite on Galaxy host server"/> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
29 <param name="builds" type="boolean" label="Append references to builds" help="Append genomes to Galaxies builds.txt, listing them at /api/genomes"/> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
30 </inputs> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
31 <outputs> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
32 <data name="output" format="data_manager_json" /> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
33 </outputs> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
34 <tests> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
35 </tests> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
36 <help><![CDATA[ |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
37 Analysis of microbial genomes often requires the general organization and comparison of tens to thousands of genomes both from public repositories |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
38 and unpublished sources. MicrobeDB provides a foundation for such projects by the automation of downloading published, completed bacterial and |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
39 archaeal genomes from key sources, parsing annotations of all genomes (both public and private) into a local database, and allowing interaction |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
40 with the database through an easy to use programming interface. MicrobeDB creates a simple to use, easy to maintain, centralized local resource |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
41 for various large-scale comparative genomic analyses and a back-end for future microbial application design. |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
42 |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
43 This tool populates the all_fasta table with the paths of the reference genomes included in MicrobeDB. MicrobeDB must first be manually loaded |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
44 onto the Galaxy filesystem. The easiest way of doing that is mounting it using the [CVMFS client](https://cvmfs.readthedocs.io/en/stable/cpt-quickstart.html). |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
45 The MicrobeDB CVMFS repository is hosted at microbedb.brinkmanlab.ca. |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
46 ]]></help> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
47 <citations> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
48 <citation type="doi">10.1093/bioinformatics/bts273</citation> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
49 </citations> |
40d14d5c8125
"planemo upload for repository https://github.com/brinkmanlab/galaxy-tools/tree/master/microbedb commit e63162a36457c0337c67e536a8a394beb06f4d70"
brinkmanlab
parents:
diff
changeset
|
50 </tool> |