Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • TGICL installation

    Hi everyone

    This is my problem, I've tried to install TGICL for clustering EST, from
    Download TGI Clustering Tool for free. A software solution for clustering large EST/mRNAs datasets.

    My machine is Linux 32-bits, Ubuntu 11.10

    I decompress the file perl-tgicl_2.1-1_all.deb: tar xcvf perl-tgicl_2.1-1_all.deb
    Then I copied all files from perl-tgicl_2.1-1_all/usr/bin to /usr/local/bin (executables and perl scripts)

    But when I try to run tgicl in the console appear

    Can't locate TGI/Mailer.pm in @INC (@INC contains: /usr/local/bin /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /usr/local/bin/tgicl line 12.
    BEGIN failed--compilation aborted at /usr/local/bin/tgicl line 12.

    Well I'm confuse whit this, please can you help me with this.

    Thanks

    Daniel Fernandez

  • #2
    Point PERL5LIB to the path where TGI::Mailer.pm is located, e.g.

    Code:
    export PERL5LIB=/usr/share/perl5:$PERL5LIB
    or wherever your Mailer.pm containing folder (TGI) is located. To find yours,

    Code:
    find /usr/ -type d -name TGI 2>/dev/null
    should work.

    Then you should be able to start tgicl (or get the next error ;-) )

    hth,
    Sven

    Comment


    • #3
      TGICL installation, new error

      Well I did

      $ find / -type d -name TGI 2>/dev/null
      /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5/TGI
      /home/dnl/.local/share/Trash/files/perl-tgicl_2.1-1_all/usr/share/perl5/TGI

      So

      Code:
      export PERL5LIB=/home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5:$PERL5LIB
      And it get me the follow error

      Code:
      Use of :locked is deprecated at /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5/TGI/DBDrv.pm line 36.
      Can't locate File/HomeDir.pm in @INC (@INC contains: /usr/local/bin /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5 /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5/TGI/Util.pm line 32.
      BEGIN failed--compilation aborted at /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5/TGI/Util.pm line 32.
      Compilation failed in require at /usr/local/bin/tgicl line 14.
      BEGIN failed--compilation aborted at /usr/local/bin/tgicl line 14.

      I tried copying the HomeDir.pm file into TGI directory
      My original HomeDir.pm file is in:
      $ find / -name HomeDir.pm 2>/dev/null
      /home/dnl/.cpan/build/File-HomeDir-0.98-wwI0wc/lib/File/HomeDir.pm
      /home/dnl/.cpan/build/File-HomeDir-0.98-wwI0wc/blib/lib/File/HomeDir.pm

      But the terminal get me the same error.
      What can I do?

      Comment


      • #4
        Hi Daniel,

        install File::HomeDir correctly via apt-get/synaptic and retry (libfile-homedir-perl).

        saludos, Sven

        Comment


        • #5
          Thanks, that eliminated the second error, but the DBDrv.pm line 36 still generates an error.

          Code:
          $ tgicl AlpEST.fasta 
          Use of :locked is deprecated at /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5/TGI/DBDrv.pm line 36.
          
          Package main, File /usr/local/bin/tgicl, Line 29 == 
          Package main, File /usr/local/bin/tgicl, Line 30 == Failed to find tgicl.cfg config file in ./tgicl.cfg /home/dnl/tgicl.cfg /etc/tgicl.cfg 
          [ TGI::Exception has been thrown ]
          
          
          Package main, File /usr/local/bin/tgicl, Line 29 == 
          Package main, File /usr/local/bin/tgicl, Line 30 == Failed to find tgicl.cfg config file in ./tgicl.cfg /home/dnl/tgicl.cfg /etc/tgicl.cfg 
          [ TGI::Exception has been thrown ]
          
          
          Package main, File /usr/local/bin/tgicl, Line 29 == 
          Package main, File /usr/local/bin/tgicl, Line 30 == Failed to find tgicl.cfg config file in ./tgicl.cfg /home/dnl/tgicl.cfg /etc/tgicl.cfg 
          [ TGI::Exception has been thrown ]

          Comment


          • #6
            The BDBrv.pm line 36 gets me an error:

            line 36: sub new :locked {

            And the tgicl lines:

            Line 29: eval {
            Line 30: $gConfig = loadConfig( "tgicl.cfg" );
            Line 31: };

            My tgicl.cfg file is in /home/dnl/Genetics/Tools/TGICL/tgicl/etc/tgicl.cfg
            I'm confused

            Comment


            • #7
              Originally posted by Daniel Fernandez View Post
              The BDBrv.pm line 36 gets me an error:

              line 36: sub new :locked {

              And the tgicl lines:

              Line 29: eval {
              Line 30: $gConfig = loadConfig( "tgicl.cfg" );
              Line 31: };

              My tgicl.cfg file is in /home/dnl/Genetics/Tools/TGICL/tgicl/etc/tgicl.cfg
              I'm confused
              The first one is just a warning; TGICL is veeery old.

              About loading the config file just have a look at the message where the config is searched:
              Code:
              ./tgicl.cfg /home/dnl/tgicl.cfg /etc/tgicl.cfg
              I'd keep the configs on a "per-assembly-basis"; copy the default config in the current dir, edit an then rerun tgicl.

              Hopefully you are not trying to cluster a few illumina lanes with tgicl :-)

              cheers,
              Sven

              Comment


              • #8
                Thanks, yes I try cluster few reads.
                I copied the tgicl.cfg in /etc , but when I run tgicl

                Code:
                $ tgicl AlpEST.fasta 
                Use of :locked is deprecated at /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5/TGI/DBDrv.pm line 36.
                Error: cannot find input file ''
                And my input is correct.

                Comment


                • #9
                  How does your cfg look like? Do you have an empty entry for DB_FILE in the cfg file?

                  Comment


                  • #10
                    Yes, DB_FILE have a empty entry

                    DB_FILE =

                    Code:
                    # TGICL Configuration file
                    #
                    
                    # Generate HTML reports. Default value 'no'
                    HTML_REPORT = yes
                    
                    # The sequence file in fasta format 
                    DB_FILE =
                    
                    # Quality file
                    #DB_QUALITY =
                    
                    # performs more restrictive, layout-based clustering
                    # instead of simple transitive closure. Default value 'no'
                    #CLUSTER_LAYOUT = yes
                    
                    #keep only sequence names with prefix SEQ_FILTER_PREFIX
                    # SEQ_FILTER_PREFIX = 
                    
                    # skip the mgblast searches (assumed done) but restrict 
                    # further clustering analysis to only the sequences in <seq_list>
                    #
                    #SEQ_RESTRICT_LIST = 
                    
                    # pass the ASM_PARAM_FILE as the custom parameter file 
                    # to the assembly program <asmprog.psx>
                    #ASM_PARAM_FILE =       
                    
                    # A number means to use the specified number of CPUs on
                    # the local machine. A file name means to use the list of
                    # PVM nodes given in that file. Default value 1.
                    #PVM_OR_CPU_LIST =
                    
                    # user to send email notifications.
                    # USER_MAIL =
                    
                    # maximum length of unmatched overhangs. Default value 30.
                    OVERHANG_LEN = 30
                    
                    # miminum overlap length. Default value 40.
                    MIN_OVERLAP = 40
                    
                    # minimum percent identity for overlaps  (PID). Default value 94.
                    MIN_OVERLAP_PID = 94
                    
                    # only run the distributed pairwise searches and exit.
                    # That is no sorting of the pairwise overlaps and no
                    # clusters generated. Default value 'no'
                    SEARCHING_ONLY = no
                    
                    # only run the distributed pairwise searches 
                    # and create the sorted & compressed *_hits.Z file.
                    # Default value 'no'
                    SEARCH_AND_SORT = no
                    
                    # use given CAP3_OPTIONS instead of the default ones
                    #CAP3_OPTIONS =
                    
                    # use CLONE_LIST_FILE to put in the same cluster all sequence names
                    # from the same line.
                    #CLONE_LIST_FILE =
                    
                    # ignore lower-case masking in <fasta_db> sequences. Default value 'no'
                    IGNORE_MASKING = no
                    
                    # store gap information for all pairwise alignments. Default value 'no'
                    STORE_GAP_INFO = no
                    
                    # do not perform all-vs-all search, but search DB_FILE against 
                    # TARGET_DB_FILE instead. Stops after the pairwise hits are generated.
                    # TARGET_DB_FILE =

                    Comment


                    • #11
                      Just comment that line out and give it a try with your command line used ...

                      Comment


                      • #12
                        Thanks, it works but

                        1. Is it necessary to write the input in the tgicl.cfg?
                        DB_FILE = AlpEST.fasta
                        Because I thought it work only with "tgicl AlpEST.fasta" (apart from other parameters)

                        2. The tgicl only run when my fasta is in file without spaces in the name. e.g.
                        When my fasta is in "TEST1/AlpEST.fasta" => Ok, it work
                        When my fasta is in "TEST 1/AlpEST.fasta" => ERROR, dont work

                        Code:
                        ../TEST1$ tgicl AlpEST.fasta 
                        Use of :locked is deprecated at /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5/TGI/DBDrv.pm line 36.
                        tgicl (AlpEST.fasta) finished on machine 
                                         in /home/dnl/Genetics/LAB/Results/TGICL1, without a detectable error.
                        Code:
                        .../TEST 1$ tgicl AlpEST.fasta 
                        Use of :locked is deprecated at /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5/TGI/DBDrv.pm line 36.
                        tgicl (AlpEST.fasta) encountered an error at step clustering
                                         Working directory was /home/dnl/Genetics/LAB/Results/TGICL 1.

                        Comment


                        • #13
                          Originally posted by Daniel Fernandez View Post
                          Thanks, it works but

                          1. Is it necessary to write the input in the tgicl.cfg?
                          DB_FILE = AlpEST.fasta
                          Because I thought it work only with "tgicl AlpEST.fasta" (apart from other parameters)

                          2. The tgicl only run when my fasta is in file without spaces in the name. e.g.
                          When my fasta is in "TEST1/AlpEST.fasta" => Ok, it work
                          When my fasta is in "TEST 1/AlpEST.fasta" => ERROR, dont work

                          Code:
                          ../TEST1$ tgicl AlpEST.fasta 
                          Use of :locked is deprecated at /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5/TGI/DBDrv.pm line 36.
                          tgicl (AlpEST.fasta) finished on machine 
                                           in /home/dnl/Genetics/LAB/Results/TGICL1, without a detectable error.
                          Code:
                          .../TEST 1$ tgicl AlpEST.fasta 
                          Use of :locked is deprecated at /home/dnl/Genetics/Tools/TGICL/tgicl/usr/share/perl5/TGI/DBDrv.pm line 36.
                          tgicl (AlpEST.fasta) encountered an error at step clustering
                                           Working directory was /home/dnl/Genetics/LAB/Results/TGICL 1.

                          1. I thought you have commented out the DB_FILE entry in tgicl.cfg? Then it should work as intented, "tgicl AlpEST.fasta"

                          2. Just don't use spaces in names when you are working with command line software. It sometimes may work if you are familiar with correct quoting, assuming the software itself is also aware of potential whitespaces in file names. ... Just don't use whitespaces in file names :-)

                          hth,
                          Sven

                          Comment


                          • #14
                            TGICL installation (SOLVED)

                            Thanks very much, sorry for a lot of question, finally it run ...

                            But only one question more, it's about packages, you tell me about libfile-homedir-perl, I try other method (sudo dpkg -i perl-tgicl.deb) in this method I need libfile-homedir-perl, libfile-spec-perl, lib32z1 and libc6-i386 packages, I installed the first two, but lib32z1 and libc6-i386 I don't find this packages.

                            Code:
                            [SIZE="2"]$ sudo dpkg -i perl-tgicl_2.1-1_all.deb 
                            Selecting previously deselected package perl-tgicl.
                            (Reading database ... 168568 files and directories currently installed.)
                            Unpacking perl-tgicl (from perl-tgicl_2.1-1_all.deb) ...
                            dpkg: dependency problems prevent configuration of perl-tgicl:
                             perl-tgicl depends on lib32z1 (>= 1:1.1.4); however:
                              Package lib32z1 is not installed.
                             perl-tgicl depends on libc6-i386 (>= 2.3); however:
                              Package libc6-i386 is not installed.
                            dpkg: error processing perl-tgicl (--install):
                             dependency problems - leaving unconfigured
                            Processing triggers for man-db ...
                            Errors were encountered while processing:
                             perl-tgicl[/SIZE]
                            When I run tgicl with my fasta, the result is the same, so is necessary this packages lib32z1 and libc6.i386, because I don't have any similar package like them (I used apt-cache search). I used sudo apt-get -f install and then I tried search this package again and no result, then I install again (sudo spkg -i ...deb) and the same result, this packages are not installed. Are this packages needed?

                            Comment


                            • #15
                              Both are available in current Ubuntu:

                              libc6-i386: http://packages.ubuntu.com/oneiric/libs/libc6-i386
                              lib32z1: http://packages.ubuntu.com/oneiric/libs/lib32z1

                              If these libraries are considered important for TGICL, just install them :-)

                              cheers,
                              Sven

                              Comment

                              Latest Articles

                              Collapse

                              • seqadmin
                                Strategies for Sequencing Challenging Samples
                                by seqadmin


                                Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                                03-22-2024, 06:39 AM
                              • seqadmin
                                Techniques and Challenges in Conservation Genomics
                                by seqadmin



                                The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

                                Avian Conservation
                                Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
                                03-08-2024, 10:41 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by seqadmin, 03-27-2024, 06:37 PM
                              0 responses
                              12 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 03-27-2024, 06:07 PM
                              0 responses
                              11 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 03-22-2024, 10:03 AM
                              0 responses
                              53 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 03-21-2024, 07:32 AM
                              0 responses
                              68 views
                              0 likes
                              Last Post seqadmin  
                              Working...
                              X