Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johnny
    Member
    • Dec 2009
    • 15

    #1

    Games

    I'm currently giving GAMES a try. Although I'm totally new to perl, I managed to get the Bioanalysis done. But now for the Annotation process, could someone please explain me in a bit more detail how one should proceed with the DB connection before one can use the Annotation.

    Cheers!
  • johnny
    Member
    • Dec 2009
    • 15

    #2
    Okay, now I give some more detailed information, maybe someone can help me then.

    What I get when running the Annotation part is:


    Useless use of array element in void context at GAMES_annotation_NCBI36hg18.pl line 1759.

    DBD::mysql initialisation failed: Can't locate object method "driver" via package "DBD::mysql" at /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level/DBI.pm line 787.

    Perhaps the capitalisation of DBD 'mysql' isn't right. at GAMES_annotation_NCBI36hg18.pl line 34

    ------------------------

    The GAMES-tutorial file saysBI->connect("DBI:mysql:$database:$hostname:$port", $username, $password)
    You have to set username and password for database connection by DBI.

    I think this is the problem. How can I do this ?
    Last edited by johnny; 11-16-2010, 05:43 AM.

    Comment

    • drio
      Senior Member
      • Oct 2008
      • 323

      #3
      Try to install the mysql-dbi module. It seems missing.
      -drd

      Comment

      • johnny
        Member
        • Dec 2009
        • 15

        #4
        perldoc DBI and perldoc DBD shows me that it is installed, but

        perldoc -l DBI shows me:

        /Library/Perl/5.10.0/darwin-thread-multi-2level/DBI.pm

        and perldoc -l DBD::mysql

        /Library/Perl/Updates/5.10.0/DBD/mysql.pm

        Could this be a problem ?

        Comment

        • johnny
          Member
          • Dec 2009
          • 15

          #5
          I think the problem is in the GAMES script. Here is the part that is supposed to be changed to the users settings. Do I have to set up a new mysql database first ?

          ######## DATABASE CONNECTION ########
          ######## REMEMBER TO SET DATABASE PATH, USERNAME & PWD FOR DBI CONNECTIONS ######

          my $database = "set_db_path";
          my $data_source = "DBI:mysql:$database";
          my $username = "set_username";
          my $password = "set_pwd";
          my $hostname = "localhost";
          my ($dbh,$dbh1);
          my ($sth,$sth1);
          my $port =3306;
          my $j;
          my $i;

          $dbh = DBI->connect("DBI:mysql:$database:$hostname:$port", $username, $password)
          or die "Can't connect to $data_source: $dbh->errstr\n";

          ########## GETOPT #####################

          Comment

          • m_elena_bioinfo
            Member
            • Oct 2009
            • 99

            #6
            Hi Johnny,
            I'm Maria Elena, the developer of GAMES. I read your problems with the installation of GAMES.
            it seems there might be a problem with mysql perl modules installation.
            Nevertheless, you need to create a db with mysql (you can install the phpmyadmin web gui, most linux installations have a package for it, if you feel uncomfortable with command lines).

            DB name can be as you wish (mygames can be ok for example).

            anything like the following:

            my $database = "mygames";
            my $data_source = "DBI:mysql:$database";
            my $username = "bioinformaticianfrommars";
            my $password = "alienicus";

            the password and the user need to be added to the mysql privileges:
            unix> mysql -u root -p
            (here you will be asked the password)

            mysql> create database mygames;
            mysql> GRANT ALL PRIVILEGES
            ON my_database.*
            TO 'bioinformaticianfrommars@'localhost'
            IDENTIFIED BY 'alienicus'
            WITH GRANT OPTION;

            mysql> FLUSH PRIVILEGES;

            If you have any problems, feel free to contact me!
            Bye,
            ME

            Comment

            Latest Articles

            Collapse

            • SEQadmin2
              Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
              by SEQadmin2



              Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

              Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
              ...
              10-14-2026, 09:55 AM
            • SEQadmin2
              New Genomics Technologies Take Aim at Long-Standing Limits
              by SEQadmin2


              Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

              We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
              ...
              09-28-2026, 10:25 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, Yesterday, 11:13 AM
            0 responses
            21 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 10:48 AM
            0 responses
            18 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-15-2026, 10:52 AM
            0 responses
            36 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            42 views
            0 reactions
            Last Post SEQadmin2  
            Working...