Re: [galaxy-dev] Wiki datatypes tutorial
On Thu, Jul 17, 2014 at 7:19 PM, Eric Rasche 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 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/ncbi_blastn_wrapper.xml 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 ___ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/ To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
[galaxy-dev] 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- ___ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: http://lists.bx.psu.edu/ To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/