Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #16
    So your bamtools executable is probably in bin directory. Can you show us output of

    Code:
    $ ls -lh /home/bg/repeatseq-master/bamtools/bin
    In that case you PATH needs to be changed to

    Code:
    $ PATH="/home/bg/repeatseq-master/bamtools/bin:$PATH"

    Comment

    • basalganglia
      Member
      • May 2015
      • 11

      #17
      $ ls -lh /home/bg/repeatseq-master/bamtools/bin
      total 704K
      lrwxrwxrwx 1 bg bg 14 May 28 00:08 bamtools -> bamtools-2.3.0
      -rwxrwxr-x 1 bg bg 703K May 28 00:08 bamtools-2.3.0

      then I will try,

      $ PATH="/home/bg/repeatseq-master/bamtools/bin:$PATH"
      $ export PATH
      $ which bamtools
      ~/repeatseq-master/bamtools/bin/bamtools
      $
      $ cd repeatseq-master/
      [bg@dsas2 repeatseq-master]$ repeatseq
      -bash: repeatseq: command not found
      [bg@dsas2 repeatseq-master]$ echo $PATH
      /home/bg/repeatseq-master/bamtools/bin:/home/bg/repeatseq-master/bamtools:/home/bg/repeatseq-master/bamtools:/home/bg/repeatseq-master/bamtools:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/jdk1.7.0_71/bin:/home/bg/bin
      [bg@dsas2 repeatseq-master]$ which bamtools
      ~/repeatseq-master/bamtools/bin/bamtools
      [bg@dsas2 repeatseq-master]$ chmod u+x repeatseq
      [bg@dsas2 repeatseq-master]$ repeatseq
      -bash: repeatseq: command not found
      [bg@dsas2 repeatseq-master]$ ./repeatseq
      ./repeatseq: error while loading shared libraries: libbamtools.so.2.3.0: cannot open shared object file: No such file or directory

      I dont understand whats the problem !!

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #18
        As the author describes on this page:https://github.com/adaptivegenome/re...25a5417b200e70

        Try this:

        Code:
        $ LD_LIBRARY_PATH="/home/bg/repeatseq-master/bamtools/bin:/home/bg/repeatseq-master/bamtools:$LD_LIBRARY_PATH"
        $ export LD_LIBRARY_PATH

        Comment

        • deyler
          Member
          • Sep 2013
          • 20

          #19
          persistence

          You're getting closer so don't give up.

          You messed with your LD_LIBRARY_PATH in the beginning. But you didn't put the full path to the bamtools executable in it. Genomax is saying to try that again, but this time make sure you include the "/bin" part of /repeatseq-master/bamtools/bin, because that's where the bamtools executable actually lives.

          I do not really understand this either. Perhaps Genomax can clarify - is LD_LIBRARY_PATH required to be set when you build repeatseq and bamtools, or does it just need to be set when repeatseq is run? Mine is not set and repeatseq runs fine.

          Comment

          • basalganglia
            Member
            • May 2015
            • 11

            #20
            I suppose that when I write "repeatseq" program can work or I should add files as bam, fasta and region file.

            These are my last effort ;

            ~]$ cd repeatse
            repeatseq]$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/bg/repeatseq/bamtools/bin
            repeatseq]$ repeatseq
            -bash: repeatseq: command not found
            repeatseq]$ which bamtools
            /usr/bin/which: no bamtools in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/jdk1.7.0_71/bin:/home/bg/bin)
            repeatseq]$ export PATH=$PATH:/home/bg/repeatseq/bamtools/bin
            [ repeatseq]$ repeatseq
            -bash: repeatseq: command not found
            repeatseq]$ which bamtools
            ~/repeatseq/bamtools/bin/bamtools
            repeatseq]$ LD_LIBRARY_PATH="/home/bg/repeatseq/bamtools/bin:/home/bg/repeatseq/bamtools:$LD_LIBRARY_PATH"
            repeatseq]$ which bamtools
            ~/repeatseq/bamtools/bin/bamtools
            repeatseq]$ repeatseq
            -bash: repeatseq: command not found
            repeatseq]$ ./repeatseq
            ./repeatseq: error while loading shared libraries: libbamtools.so.2.3.0: cannot open shared object file: No such file or directory
            repeatseq]$ chmod u+x repeatseq
            repeatseq]$ ./repeatseq
            ./repeatseq: error while loading shared libraries: libbamtools.so.2.3.0: cannot open shared object file: No such file or directory
            repeatseq]$ repeatseq
            -bash: repeatseq: command not found
            Last edited by basalganglia; 05-30-2015, 06:51 AM.

            Comment

            • basalganglia
              Member
              • May 2015
              • 11

              #21
              I have download repatse-master, bamtools and fastahack again and then did all instructions that are written in INSTALL.

              When I write make code for bamtools file , I have seen that

              Linking CXX executable ../../../bin/bamtools,

              Is there any error related with this ?

              More thanks I cant give up!

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #22
                Can you exactly issue the commands in post #18? Please copy and paste the commands into your terminal (if you do that then do not include the initial $ when you copy, that is the system prompt in the example).

                Comment

                • deyler
                  Member
                  • Sep 2013
                  • 20

                  #23
                  You need to understand at least a little bit about what you're doing, which is what Genomax tried to tell you once already. It's clear from your terminal dumps that you are manually setting things every time you log in. Sometimes you mistype things, other times you forget to export the environmental variable after setting it.

                  So: before you type the word "repeatseq" again, go immediately to the link Genomax posted earlier, and spend a couple hours going through the bash tutorial. Otherwise you're just a monkey banging away at a keyboard hoping to write a novel by chance. (That's a reference to an English-language proverb, I'm not calling you a monkey.)

                  Then, once you know what environmental variables are and how to set them automatically on login, come back and try again.

                  I am no Unix/BASH expert. But if you want to do this stuff, you have to invest a little in developing your own skills.

                  Now:

                  This guy has posted notes on installing bamtools. He had to set LD_LIBRARY_PATH.
                  link

                  I note that his libbamtools.so.2.3.0 file was in /usr/local/lib. So I wonder if yours is not in the directories you're adding to LD_LIBRARY_PATH. You have to find libbamtools.so.2.3.0 before you can tell the system where to look for it.
                  Last edited by deyler; 05-30-2015, 10:03 AM.

                  Comment

                  • basalganglia
                    Member
                    • May 2015
                    • 11

                    #24
                    Thank you for your help !!!

                    At the end it works !!!!

                    Comment

                    • deyler
                      Member
                      • Sep 2013
                      • 20

                      #25
                      Good, glad you got it running. In my experience it is too sensitive. I ended up writing a custom script to call things because we have zero tolerance for false positives.

                      Comment

                      • basalganglia
                        Member
                        • May 2015
                        • 11

                        #26
                        Now, I have another problem;

                        To create region file with Tandem Repeats Finder, I have convert BAM file to fasta file with samtools.
                        Fasta file includes;

                        >HISEQ:124:H87LAADXX:1:2211:17562:14447
                        ACCCTACCCCCACCCTCACCCTCACCCCCACCCCCACCCCAACCCCAAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCCTAACCCTAACCCTAA ( I dont understand where is chromosome)

                        then when I use Tandem Repat result is like that ;

                        @HISEQ:124:H87LAADXX:2:2214:1727:13172
                        4 109 40 2.7 41 86 5 146 13 33 37 15 1.86 GGCTCCCTCACTTCTCAGACGGGGCGGCTGCCCGGCAGAGG GGCTCCTCACTTATCAGACGGGGCGGCTGTCGGGCGGAGGGGCCCCTCACTTCTCAGACGGGGCGGCTGCCCGGCAGAGGGGCTCCCCACTTCTCAGACAGGGCGG AGA G (Where is chromosome number again, it is still working, not finished)

                        So Should I use another convert file to see chr number ?

                        Comment

                        • deyler
                          Member
                          • Sep 2013
                          • 20

                          #27
                          This thing:

                          >HISEQ:124:H87LAADXX:1:2211:17562:14447
                          ACCCTACCCCCACCCTCACCCTCACCCCCACCCCCACCCCAACCCCAAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCTAACCCCTAACCCTAACCCTAA

                          is a fastq format file. It's the output of the sequencing read from the sequencer. There is no associated chromosome number because it's not aligned to a genome.

                          You have asked Tandem Repeat Finder to find tandem repeats in each of your sequencing reads, pretending that each of your sequencing reads is its own chromosome. The output is:

                          @HISEQ:124...etc.
                          [numbers] [sequences]

                          where @HISEQ:124:...etc. is the chromosome number.

                          So to put it succinctly - you're doing it wrong. The workflow is like this:

                          1) take your reads (your fastq files) and align them to a reference genome sequence (fasta file) with some aligner (bowtie2, bwa, Novoalign, etc.)
                          2) take your reference genome file (the fasta file you aligned to) and run Tandem Repeat Finder on it
                          3) reformat the TRF .ngs file from step 2 to be the format that RepeatSeq wants
                          3) run repeat seq on the reformatted file from step 3 and the bamfiles from step 1

                          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, 10-22-2026, 11:13 AM
                          0 responses
                          61 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 10-22-2026, 10:48 AM
                          0 responses
                          42 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 10-15-2026, 10:52 AM
                          0 responses
                          75 views
                          0 reactions
                          Last Post SEQadmin2  
                          Started by SEQadmin2, 10-14-2026, 05:39 AM
                          0 responses
                          74 views
                          0 reactions
                          Last Post SEQadmin2  
                          Working...