Wiki datatypes tutorial
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks to everyone for their assistance in my adventure of custom local datatypes. In response to this, I've added a new wiki page with a basic MWE/tutorial on adding datatypes. A complete example is at the end, because most people like copy+paste code to get them started. https://wiki.galaxyproject.org/Admin/Datatypes/AddingCompleteDatatypes Please feel free to add to it/fix things I completely misunderstood. I'm not sure what 80% of the functions that get called in datatypes do, nor where they're called from, so I can't offer much more detail in this wiki page than I already have. (E.g., when is split called? If I write a split method, how can I test it? What other methods should I implement?) Cheers, Eric -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJTyBO2AAoJEMqDXdrsMcpV2lcQAJAm0V3uFHzNIovEVoA7HvL6 WAaeVLjsUjEqiGl4F2WECzB4kXyGWN2N9t3QaBH0SCMFRzdrMmvoM7Bmw8/rmWcY xCFfgdP1JS5cxAJlCAzcWw6VEq9eWW8yHv+9QLc3E++X8R458n1SfsCV2IehPEcw bJSmv3FbhF7dLwmW2XjwRmIl6mitbB37eVa8w7z+NWgYtlCuFBzdZztHvPhULNyY s2mUf1T9KsH7Pdoho7op82MSBlLyKyHr6oweRpxgHHGUk+VkozAuLg6BEV+/YDQ1 Ulvyz4NOO/l8aRG+NQS6SzzXHfZhh+FFCfludrNpy9LJ1rFxqwOlex8tgl1XymXU vDzjo+yT4ypdYrRrOz0QE7W52JvVzNK1jk83454j1KTI2ZJnis3RfUJ6xeXwNVW4 LKyfo6RYJ8eRvCiJHXwuCRpXKFUKuUwxY/2due0P5rI9B4432X8FglK15q0AFd9K g7ChG+gNfiWNUjvxOVHM5ZCa/1SSTtw4khSwbeTX9n5sjbTNzu2eOr+ZFxSeCp2U vC2tqKR6NJUU/T16OYPMT4mGnVCrfX10CnwxnDR17ekzJLhTHd0WAh9qSYXnLFgQ wkint9A4N4RmqgD9+o1B0HCRGlKPFhUJ4gI4M+HnHS6QXBMDtq+0V3vX8Yx+DYKN Gpx/gp3ns8bJkRarha7m =2tCq -----END PGP SIGNATURE-----
On Thu, Jul 17, 2014 at 7:19 PM, Eric Rasche <rasche.eric@yandex.ru> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Thanks to everyone for their assistance in my adventure of custom local datatypes. In response to this, I've added a new wiki page with a basic MWE/tutorial on adding datatypes. A complete example is at the end, because most people like copy+paste code to get them started.
https://wiki.galaxyproject.org/Admin/Datatypes/AddingCompleteDatatypes Please feel free to add to it/fix things I completely misunderstood.
I'm not sure what 80% of the functions that get called in datatypes do, nor where they're called from, so I can't offer much more detail in this wiki page than I already have. (E.g., when is split called? If I write a split method, how can I test it? What other methods should I implement?)
Cheers, Eric
Hi Eric, Good work :) Split and merge are used when a tool has a <parallelism .../> tag and this is enabled in your universe_wsgi.ini file. As an example, see the BLAST wrappers, e.g. https://github.com/peterjc/galaxy_blast/blob/master/tools/ncbi_blast_plus/nc... This will split on the query FASTA file, and merge on the output file (which could be text, html, tabular, blastxml) using the output datatype's merge method. I had to work out a lot of this from reading the code and queries on the mailing list. Peter
participants (2)
-
Eric Rasche
-
Peter Cock