From aebmad at gmail.com Fri Oct 5 12:08:56 2012 From: aebmad at gmail.com (alejandro) Date: Fri, 5 Oct 2012 17:08:56 +0100 Subject: [BioSQL-l] Problem listing all species(final nodes) of Fungi -Web example In-Reply-To: References: Message-ID: Hey hey, I have a problem trying to run the example provided in the web to list all species of Fungi in the NCBI taxon table. The query it doesn't finish, not even when instead of asking for all the children of 'Fungi' I ask for the taxon offspring of 'allomyces macrogynus' which only have one descendent. Do you have any idea what I'm doing wrong? I loaded the taxonomy from NCBI with the script provided in the web. Best regards -- Alejandro Barrera Visitor scientist EMBL-EBI EMBL Outstation - Hinxton , European Bioinformatics Institute , Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SD Alt. email:* abarrera at ebi.ac.uk* From aebmad at gmail.com Fri Oct 5 09:16:15 2012 From: aebmad at gmail.com (alejandro) Date: Fri, 5 Oct 2012 14:16:15 +0100 Subject: [BioSQL-l] Problem listing all species(final nodes) of Fungi -Web example Message-ID: Hey hey, I have a problem trying to run the example provided in the web to list all species of Fungi in the NCBI taxon table. The query it doesn't finish, not even when instead of asking for all the children of 'Fungi' I ask for the taxon offspring of 'allomyces macrogynus' which only have one descendent. Do you have any idea what I'm doing wrong? I loaded the taxonomy from NCBI with the script provided in the web. Best regards -- Alejandro Barrera Visitor scientist EMBL-EBI EMBL Outstation - Hinxton , European Bioinformatics Institute , Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SD Alt. email:* abarrera at ebi.ac.uk* From aebmad at gmail.com Fri Oct 5 11:36:05 2012 From: aebmad at gmail.com (alejandro) Date: Fri, 5 Oct 2012 16:36:05 +0100 Subject: [BioSQL-l] Fwd: Problem listing all species(final nodes) of Fungi -Web example In-Reply-To: References: Message-ID: Hey hey, I have a problem trying to run the example provided in the web to list all species of Fungi in the NCBI taxon table. The query it doesn't finish, not even when instead of asking for all the children of 'Fungi' I ask for the taxon offspring of 'allomyces macrogynus' which only have one descendent. Do you have any idea what I'm doing wrong? I loaded the taxonomy from NCBI with the script provided in the web. Best regards -- Alejandro Barrera Visitor scientist EMBL-EBI EMBL Outstation - Hinxton , European Bioinformatics Institute , Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SD Alt. email:* abarrera at ebi.ac.uk* From p.j.a.cock at googlemail.com Sun Oct 7 08:01:39 2012 From: p.j.a.cock at googlemail.com (Peter Cock) Date: Sun, 7 Oct 2012 13:01:39 +0100 Subject: [BioSQL-l] Problem listing all species(final nodes) of Fungi -Web example In-Reply-To: References: Message-ID: On Fri, Oct 5, 2012 at 2:16 PM, alejandro wrote: > Hey hey, > > I have a problem trying to run the example provided in the web to list all > species of Fungi in the NCBI taxon table. The query it doesn't finish, not > even when instead of asking for all the children of 'Fungi' I ask for the > taxon offspring of 'allomyces macrogynus' which only have one descendent. > Do you have any idea what I'm doing wrong? I loaded the taxonomy from NCBI > with the script provided in the web. > > Best regards > > -- > Alejandro Barrera Did you have trouble sending your email? It came three times: http://lists.open-bio.org/pipermail/biosql-l/2012-October/001829.html http://lists.open-bio.org/pipermail/biosql-l/2012-October/001830.html http://lists.open-bio.org/pipermail/biosql-l/2012-October/001831.html I assume you are trying an example on the BioSQL wiki: http://biosql.org/wiki/Schema_Overview Could you clarify a bit about what you are doing? e.g. Which database backend (MySQL?), which version of the BioSQL scheme (e.g. v1.0.2), how are you running the SQL queries, ... Peter From hlapp at drycafe.net Sun Oct 7 22:45:50 2012 From: hlapp at drycafe.net (Hilmar Lapp) Date: Sun, 7 Oct 2012 22:45:50 -0400 Subject: [BioSQL-l] PhyloDB In-Reply-To: References: <2663160E-3765-4E1E-B020-44F47C6B915A@drycafe.net> Message-ID: <92180AE8-33A0-43E3-9D18-51F305808410@drycafe.net> MJ, Did you try using the --download option? BTW you can obtain documentation of this and other options by supplying --help on the command line. -hilmar On Oct 7, 2012, at 10:35 PM, Mo_Jun_Shen at bd.com wrote: > Hi Hilmar, > > Thank you for your reply. I ever tried to run 'load_itis_taxonomy.pl' to load ITIS taxonomy. But the load_itis_taxonomy.pl could not work because it needs 'itisMSforTar.sql' to complete the process. When I run the load_itis_taxonomy.pl, I got error message: > > failed to open /itisMSforTar.sql for reading: No such file or directory > > I couldn't find itisMSforTar.sql anywhere. It is neither in BioSQL scripts/sql, nor in ITIS data set. Can you please advise where I can get itisMSforTar.sql? > > Thanks, > MJ Shen > > > From: Hilmar Lapp > To: "Mo_Jun_Shen at bd.com" > Cc: "biosql-l at lists.open-bio.org" > Date: 09/19/2012 02:20 PM > Subject: Re: [BioSQL-l] PhyloDB > > > > > MJ, > > Apologies for the long time your message was held up in moderation. Was your question resolved meanwhile? There is a script that comes with Biosql that loads the ITIS taxonomy (which essentially consists of 5 trees, one for each "kingdom") into the PhyloDB tables. This may serve as an example for how to get data into those tables. Does this answer your question? > > -hilmar > > Sent with a tap. > > On Jul 8, 2012, at 9:06 PM, Mo_Jun_Shen at bd.com wrote: > > Dear Sir/Madam, > > I am very interested in PhyloDB in BioSQL for querying taxonomy. However, I couldn't find scripts or document to describe how to setup data for phyloDB after initiating phyloDB . Could you please provide guidance? > > Thank you. > > Best Regards, > MJ Shen > ----------------------------------------- ******************************************************************* IMPORTANT MESSAGE FOR RECIPIENTS IN THE U.S.A.: This message may constitute an advertisement of a BD group's products or services or a solicitation of interest in them. If this is such a message and you would like to opt out of receiving future advertisements or solicitations from this BD group, please forward this e-mail to optoutbygroup at bd.com. ******************************************************************* This message (which includes any attachments) is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to the attorney-client privilege or other confidentiality protections. If you are not a designated recipient, you may not review, use, copy or distribute this message. If you received this in error, please notify the sender by reply e-mail and delete this message. Thank you. ******************************************************************* Corporate Headquarters Mailing Address: BD (Becton, Dickinson and Company) 1 Becton Drive Franklin Lakes, NJ 07417 U.S.A. ******************************************************************* > _______________________________________________ > BioSQL-l mailing list > BioSQL-l at lists.open-bio.org > http://lists.open-bio.org/mailman/listinfo/biosql-l > > ----------------------------------------- ******************************************************************* IMPORTANT MESSAGE FOR RECIPIENTS IN THE U.S.A.: This message may constitute an advertisement of a BD group's products or services or a solicitation of interest in them. If this is such a message and you would like to opt out of receiving future advertisements or solicitations from this BD group, please forward this e-mail to optoutbygroup at bd.com. ******************************************************************* This message (which includes any attachments) is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to the attorney-client privilege or other confidentiality protections. If you are not a designated recipient, you may not review, use, copy or distribute this message. If you received this in error, please notify the sender by reply e-mail and delete this message. Thank you. ******************************************************************* Corporate Headquarters Mailing Address: BD (Becton, Dickinson and Company) 1 Becton Drive Franklin Lakes, NJ 07417 U.S.A. ******************************************************************* -- =========================================================== : Hilmar Lapp -:- Durham, NC -:- hlapp at drycafe dot net : =========================================================== From Mo_Jun_Shen at bd.com Sun Oct 7 22:35:57 2012 From: Mo_Jun_Shen at bd.com (Mo_Jun_Shen at bd.com) Date: Mon, 8 Oct 2012 10:35:57 +0800 Subject: [BioSQL-l] PhyloDB In-Reply-To: <2663160E-3765-4E1E-B020-44F47C6B915A@drycafe.net> References: <2663160E-3765-4E1E-B020-44F47C6B915A@drycafe.net> Message-ID: An HTML attachment was scrubbed... URL: From aebmad at gmail.com Mon Oct 8 05:58:02 2012 From: aebmad at gmail.com (alejandro) Date: Mon, 8 Oct 2012 10:58:02 +0100 Subject: [BioSQL-l] Problem listing all species(final nodes) of Fungi -Web example In-Reply-To: References: Message-ID: Hi Peter, Sorry about spam, I had a connection problem and I thought the messages were not sent. I'm using MySQL 14.14 mysql Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (x86_64) using readline 6.2 BioSQL 1.0.1, just updated. The query I was running is the example provided on the web: SELECT DISTINCT include.ncbi_taxon_id FROM taxon INNER JOIN taxon AS include ON (include.left_value BETWEEN taxon.left_value AND taxon.right_value) WHERE taxon.taxon_id IN (SELECT taxon_id FROM taxon_name WHERE name LIKE '%fungi%') The query doesn't work neither when I use MySQL Workbench nor through mysql console. On Sun, Oct 7, 2012 at 1:01 PM, Peter Cock wrote: > On Fri, Oct 5, 2012 at 2:16 PM, alejandro wrote: > > Hey hey, > > > > I have a problem trying to run the example provided in the web to list > all > > species of Fungi in the NCBI taxon table. The query it doesn't finish, > not > > even when instead of asking for all the children of 'Fungi' I ask for the > > taxon offspring of 'allomyces macrogynus' which only have one descendent. > > Do you have any idea what I'm doing wrong? I loaded the taxonomy from > NCBI > > with the script provided in the web. > > > > Best regards > > > > -- > > Alejandro Barrera > > Did you have trouble sending your email? It came three times: > http://lists.open-bio.org/pipermail/biosql-l/2012-October/001829.html > http://lists.open-bio.org/pipermail/biosql-l/2012-October/001830.html > http://lists.open-bio.org/pipermail/biosql-l/2012-October/001831.html > > I assume you are trying an example on the BioSQL wiki: > http://biosql.org/wiki/Schema_Overview > > Could you clarify a bit about what you are doing? e.g. Which > database backend (MySQL?), which version of the BioSQL > scheme (e.g. v1.0.2), how are you running the SQL queries, ... > > Peter > -- Alejandro Barrera Visitor scientist EMBL-EBI EMBL Outstation - Hinxton , European Bioinformatics Institute , Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SD Alt. email:* abarrera at ebi.ac.uk* Direct:* *+44 (0) 1223 492 578 (UK - Office hours)* * Cell: +44 (0) 77 424 72963 (UK) or +34 685 67 99 63 (SP) Skype: aebmad From Mo_Jun_Shen at bd.com Mon Oct 8 03:06:31 2012 From: Mo_Jun_Shen at bd.com (Mo_Jun_Shen at bd.com) Date: Mon, 8 Oct 2012 15:06:31 +0800 Subject: [BioSQL-l] PhyloDB In-Reply-To: <92180AE8-33A0-43E3-9D18-51F305808410@drycafe.net> References: <2663160E-3765-4E1E-B020-44F47C6B915A@drycafe.net> <92180AE8-33A0-43E3-9D18-51F305808410@drycafe.net> Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6379 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 47819 bytes Desc: not available URL: From p.j.a.cock at googlemail.com Thu Oct 11 08:15:02 2012 From: p.j.a.cock at googlemail.com (Peter Cock) Date: Thu, 11 Oct 2012 13:15:02 +0100 Subject: [BioSQL-l] Problem listing all species(final nodes) of Fungi -Web example In-Reply-To: References: Message-ID: On Monday, October 8, 2012, alejandro wrote: > Hi Peter, > > Sorry about spam, I had a connection problem and I thought the messages > were not sent. > > I'm using MySQL 14.14 > > mysql Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (x86_64) using > readline 6.2 > > > BioSQL 1.0.1, just updated. The query I was running is the example > provided on the web: > > SELECT DISTINCT include.ncbi_taxon_id FROM taxon > INNER JOIN taxon AS include ON > (include.left_value BETWEEN taxon.left_value > AND taxon.right_value) > WHERE taxon.taxon_id IN > (SELECT taxon_id FROM taxon_name > WHERE name LIKE '%fungi%') > > The query doesn't work neither when I use MySQL Workbench nor through > mysql console. > > Hmm. I guess you'll have to do a little debugging, for example breaking down the SQL statement into smaller simpler queries and checking they are giving sensible values. I would start with asking for the count of rows in table taxon - perhaps loading the taxonomy failed and the table is still empty? Peter From aebmad at gmail.com Fri Oct 5 16:08:56 2012 From: aebmad at gmail.com (alejandro) Date: Fri, 5 Oct 2012 17:08:56 +0100 Subject: [BioSQL-l] Problem listing all species(final nodes) of Fungi -Web example In-Reply-To: References: Message-ID: Hey hey, I have a problem trying to run the example provided in the web to list all species of Fungi in the NCBI taxon table. The query it doesn't finish, not even when instead of asking for all the children of 'Fungi' I ask for the taxon offspring of 'allomyces macrogynus' which only have one descendent. Do you have any idea what I'm doing wrong? I loaded the taxonomy from NCBI with the script provided in the web. Best regards -- Alejandro Barrera Visitor scientist EMBL-EBI EMBL Outstation - Hinxton , European Bioinformatics Institute , Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SD Alt. email:* abarrera at ebi.ac.uk* From aebmad at gmail.com Fri Oct 5 13:16:15 2012 From: aebmad at gmail.com (alejandro) Date: Fri, 5 Oct 2012 14:16:15 +0100 Subject: [BioSQL-l] Problem listing all species(final nodes) of Fungi -Web example Message-ID: Hey hey, I have a problem trying to run the example provided in the web to list all species of Fungi in the NCBI taxon table. The query it doesn't finish, not even when instead of asking for all the children of 'Fungi' I ask for the taxon offspring of 'allomyces macrogynus' which only have one descendent. Do you have any idea what I'm doing wrong? I loaded the taxonomy from NCBI with the script provided in the web. Best regards -- Alejandro Barrera Visitor scientist EMBL-EBI EMBL Outstation - Hinxton , European Bioinformatics Institute , Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SD Alt. email:* abarrera at ebi.ac.uk* From aebmad at gmail.com Fri Oct 5 15:36:05 2012 From: aebmad at gmail.com (alejandro) Date: Fri, 5 Oct 2012 16:36:05 +0100 Subject: [BioSQL-l] Fwd: Problem listing all species(final nodes) of Fungi -Web example In-Reply-To: References: Message-ID: Hey hey, I have a problem trying to run the example provided in the web to list all species of Fungi in the NCBI taxon table. The query it doesn't finish, not even when instead of asking for all the children of 'Fungi' I ask for the taxon offspring of 'allomyces macrogynus' which only have one descendent. Do you have any idea what I'm doing wrong? I loaded the taxonomy from NCBI with the script provided in the web. Best regards -- Alejandro Barrera Visitor scientist EMBL-EBI EMBL Outstation - Hinxton , European Bioinformatics Institute , Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SD Alt. email:* abarrera at ebi.ac.uk* From p.j.a.cock at googlemail.com Sun Oct 7 12:01:39 2012 From: p.j.a.cock at googlemail.com (Peter Cock) Date: Sun, 7 Oct 2012 13:01:39 +0100 Subject: [BioSQL-l] Problem listing all species(final nodes) of Fungi -Web example In-Reply-To: References: Message-ID: On Fri, Oct 5, 2012 at 2:16 PM, alejandro wrote: > Hey hey, > > I have a problem trying to run the example provided in the web to list all > species of Fungi in the NCBI taxon table. The query it doesn't finish, not > even when instead of asking for all the children of 'Fungi' I ask for the > taxon offspring of 'allomyces macrogynus' which only have one descendent. > Do you have any idea what I'm doing wrong? I loaded the taxonomy from NCBI > with the script provided in the web. > > Best regards > > -- > Alejandro Barrera Did you have trouble sending your email? It came three times: http://lists.open-bio.org/pipermail/biosql-l/2012-October/001829.html http://lists.open-bio.org/pipermail/biosql-l/2012-October/001830.html http://lists.open-bio.org/pipermail/biosql-l/2012-October/001831.html I assume you are trying an example on the BioSQL wiki: http://biosql.org/wiki/Schema_Overview Could you clarify a bit about what you are doing? e.g. Which database backend (MySQL?), which version of the BioSQL scheme (e.g. v1.0.2), how are you running the SQL queries, ... Peter From hlapp at drycafe.net Mon Oct 8 02:45:50 2012 From: hlapp at drycafe.net (Hilmar Lapp) Date: Sun, 7 Oct 2012 22:45:50 -0400 Subject: [BioSQL-l] PhyloDB In-Reply-To: References: <2663160E-3765-4E1E-B020-44F47C6B915A@drycafe.net> Message-ID: <92180AE8-33A0-43E3-9D18-51F305808410@drycafe.net> MJ, Did you try using the --download option? BTW you can obtain documentation of this and other options by supplying --help on the command line. -hilmar On Oct 7, 2012, at 10:35 PM, Mo_Jun_Shen at bd.com wrote: > Hi Hilmar, > > Thank you for your reply. I ever tried to run 'load_itis_taxonomy.pl' to load ITIS taxonomy. But the load_itis_taxonomy.pl could not work because it needs 'itisMSforTar.sql' to complete the process. When I run the load_itis_taxonomy.pl, I got error message: > > failed to open /itisMSforTar.sql for reading: No such file or directory > > I couldn't find itisMSforTar.sql anywhere. It is neither in BioSQL scripts/sql, nor in ITIS data set. Can you please advise where I can get itisMSforTar.sql? > > Thanks, > MJ Shen > > > From: Hilmar Lapp > To: "Mo_Jun_Shen at bd.com" > Cc: "biosql-l at lists.open-bio.org" > Date: 09/19/2012 02:20 PM > Subject: Re: [BioSQL-l] PhyloDB > > > > > MJ, > > Apologies for the long time your message was held up in moderation. Was your question resolved meanwhile? There is a script that comes with Biosql that loads the ITIS taxonomy (which essentially consists of 5 trees, one for each "kingdom") into the PhyloDB tables. This may serve as an example for how to get data into those tables. Does this answer your question? > > -hilmar > > Sent with a tap. > > On Jul 8, 2012, at 9:06 PM, Mo_Jun_Shen at bd.com wrote: > > Dear Sir/Madam, > > I am very interested in PhyloDB in BioSQL for querying taxonomy. However, I couldn't find scripts or document to describe how to setup data for phyloDB after initiating phyloDB . Could you please provide guidance? > > Thank you. > > Best Regards, > MJ Shen > ----------------------------------------- ******************************************************************* IMPORTANT MESSAGE FOR RECIPIENTS IN THE U.S.A.: This message may constitute an advertisement of a BD group's products or services or a solicitation of interest in them. If this is such a message and you would like to opt out of receiving future advertisements or solicitations from this BD group, please forward this e-mail to optoutbygroup at bd.com. ******************************************************************* This message (which includes any attachments) is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to the attorney-client privilege or other confidentiality protections. If you are not a designated recipient, you may not review, use, copy or distribute this message. If you received this in error, please notify the sender by reply e-mail and delete this message. Thank you. ******************************************************************* Corporate Headquarters Mailing Address: BD (Becton, Dickinson and Company) 1 Becton Drive Franklin Lakes, NJ 07417 U.S.A. ******************************************************************* > _______________________________________________ > BioSQL-l mailing list > BioSQL-l at lists.open-bio.org > http://lists.open-bio.org/mailman/listinfo/biosql-l > > ----------------------------------------- ******************************************************************* IMPORTANT MESSAGE FOR RECIPIENTS IN THE U.S.A.: This message may constitute an advertisement of a BD group's products or services or a solicitation of interest in them. If this is such a message and you would like to opt out of receiving future advertisements or solicitations from this BD group, please forward this e-mail to optoutbygroup at bd.com. ******************************************************************* This message (which includes any attachments) is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to the attorney-client privilege or other confidentiality protections. If you are not a designated recipient, you may not review, use, copy or distribute this message. If you received this in error, please notify the sender by reply e-mail and delete this message. Thank you. ******************************************************************* Corporate Headquarters Mailing Address: BD (Becton, Dickinson and Company) 1 Becton Drive Franklin Lakes, NJ 07417 U.S.A. ******************************************************************* -- =========================================================== : Hilmar Lapp -:- Durham, NC -:- hlapp at drycafe dot net : =========================================================== From Mo_Jun_Shen at bd.com Mon Oct 8 02:35:57 2012 From: Mo_Jun_Shen at bd.com (Mo_Jun_Shen at bd.com) Date: Mon, 8 Oct 2012 10:35:57 +0800 Subject: [BioSQL-l] PhyloDB In-Reply-To: <2663160E-3765-4E1E-B020-44F47C6B915A@drycafe.net> References: <2663160E-3765-4E1E-B020-44F47C6B915A@drycafe.net> Message-ID: An HTML attachment was scrubbed... URL: From aebmad at gmail.com Mon Oct 8 09:58:02 2012 From: aebmad at gmail.com (alejandro) Date: Mon, 8 Oct 2012 10:58:02 +0100 Subject: [BioSQL-l] Problem listing all species(final nodes) of Fungi -Web example In-Reply-To: References: Message-ID: Hi Peter, Sorry about spam, I had a connection problem and I thought the messages were not sent. I'm using MySQL 14.14 mysql Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (x86_64) using readline 6.2 BioSQL 1.0.1, just updated. The query I was running is the example provided on the web: SELECT DISTINCT include.ncbi_taxon_id FROM taxon INNER JOIN taxon AS include ON (include.left_value BETWEEN taxon.left_value AND taxon.right_value) WHERE taxon.taxon_id IN (SELECT taxon_id FROM taxon_name WHERE name LIKE '%fungi%') The query doesn't work neither when I use MySQL Workbench nor through mysql console. On Sun, Oct 7, 2012 at 1:01 PM, Peter Cock wrote: > On Fri, Oct 5, 2012 at 2:16 PM, alejandro wrote: > > Hey hey, > > > > I have a problem trying to run the example provided in the web to list > all > > species of Fungi in the NCBI taxon table. The query it doesn't finish, > not > > even when instead of asking for all the children of 'Fungi' I ask for the > > taxon offspring of 'allomyces macrogynus' which only have one descendent. > > Do you have any idea what I'm doing wrong? I loaded the taxonomy from > NCBI > > with the script provided in the web. > > > > Best regards > > > > -- > > Alejandro Barrera > > Did you have trouble sending your email? It came three times: > http://lists.open-bio.org/pipermail/biosql-l/2012-October/001829.html > http://lists.open-bio.org/pipermail/biosql-l/2012-October/001830.html > http://lists.open-bio.org/pipermail/biosql-l/2012-October/001831.html > > I assume you are trying an example on the BioSQL wiki: > http://biosql.org/wiki/Schema_Overview > > Could you clarify a bit about what you are doing? e.g. Which > database backend (MySQL?), which version of the BioSQL > scheme (e.g. v1.0.2), how are you running the SQL queries, ... > > Peter > -- Alejandro Barrera Visitor scientist EMBL-EBI EMBL Outstation - Hinxton , European Bioinformatics Institute , Wellcome Trust Genome Campus, Hinxton, Cambridge, CB10 1SD Alt. email:* abarrera at ebi.ac.uk* Direct:* *+44 (0) 1223 492 578 (UK - Office hours)* * Cell: +44 (0) 77 424 72963 (UK) or +34 685 67 99 63 (SP) Skype: aebmad From Mo_Jun_Shen at bd.com Mon Oct 8 07:06:31 2012 From: Mo_Jun_Shen at bd.com (Mo_Jun_Shen at bd.com) Date: Mon, 8 Oct 2012 15:06:31 +0800 Subject: [BioSQL-l] PhyloDB In-Reply-To: <92180AE8-33A0-43E3-9D18-51F305808410@drycafe.net> References: <2663160E-3765-4E1E-B020-44F47C6B915A@drycafe.net> <92180AE8-33A0-43E3-9D18-51F305808410@drycafe.net> Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 6379 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 47819 bytes Desc: not available URL: From p.j.a.cock at googlemail.com Thu Oct 11 12:15:02 2012 From: p.j.a.cock at googlemail.com (Peter Cock) Date: Thu, 11 Oct 2012 13:15:02 +0100 Subject: [BioSQL-l] Problem listing all species(final nodes) of Fungi -Web example In-Reply-To: References: Message-ID: On Monday, October 8, 2012, alejandro wrote: > Hi Peter, > > Sorry about spam, I had a connection problem and I thought the messages > were not sent. > > I'm using MySQL 14.14 > > mysql Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (x86_64) using > readline 6.2 > > > BioSQL 1.0.1, just updated. The query I was running is the example > provided on the web: > > SELECT DISTINCT include.ncbi_taxon_id FROM taxon > INNER JOIN taxon AS include ON > (include.left_value BETWEEN taxon.left_value > AND taxon.right_value) > WHERE taxon.taxon_id IN > (SELECT taxon_id FROM taxon_name > WHERE name LIKE '%fungi%') > > The query doesn't work neither when I use MySQL Workbench nor through > mysql console. > > Hmm. I guess you'll have to do a little debugging, for example breaking down the SQL statement into smaller simpler queries and checking they are giving sensible values. I would start with asking for the count of rows in table taxon - perhaps loading the taxonomy failed and the table is still empty? Peter