Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • atonidas
    Member
    • May 2017
    • 15

    Cannot use SRA data access in HISAT2

    everytime I try to run this command, i got this error :
    Code:
    $ hisat2 -p 8 --dta -x chrX_data/indexes/chrX_tran --sra-acc ERR188245 –S ERR188245_chrX.sam
    hisat2-align-s: unrecognized option '--sra-acc'
    so that I follow this instruction and download ngs-sdk.1.3.0-linux.tar.gz
    Code:
    "For the support of SRA data access in HISAT2, please download and install the NCBI-NGS toolkit."
    HTML Code:
    http://ftp-trace.ncbi.nlm.nih.gov/sra/ngs/1.3.0/ngs-sdk.1.3.0-linux.tar.gz
    After extract and follow the instruction of this ngs-sdk.1.3.0-linux.tar.gz, I got this message :
    Code:
    ~/RNAseq/tools/ngs-sdk.1.3.0-linux$ cd share
    ~/RNAseq/tools/ngs-sdk.1.3.0-linux/share$ make
    make: uname: Command not found
    make: true: Command not found
    /home/atonidas/RNAseq/tools/ngs-sdk.1.3.0-linux/share/Makefile.config:53: recipe for target 'ncbi-headers' failed
    make: *** [ncbi-headers] Error 127
    Did I make something wrong? please advice, thank you so much
    Last edited by atonidas; 05-24-2017, 10:03 PM.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Are you doing this in MingW? If so use real linux since you installed it.

    Comment

    • atonidas
      Member
      • May 2017
      • 15

      #3
      Originally posted by GenoMax View Post
      Are you doing this in MingW? If so use real linux since you installed it.
      nope, I did not do that in MinW, I did that in terminal of Linux.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Then why are common unix commands like "uname" not found?

        Can you look in /bin to see if the uname and true commands are there? Also make sure /bin is in your $PATH.

        Comment

        • atonidas
          Member
          • May 2017
          • 15

          #5
          Originally posted by GenoMax View Post
          Then why are common unix commands like "uname" not found?

          Can you look in /bin to see if the uname and true commands are there? Also make sure /bin is in your $PATH.
          I set /home/atonidas/bin as my $PATH and I did installed all of my tools in there but there is no uname and true commands in that folder.

          I have just installed ubuntu for 2 days and this is the first time of my life using this OS so that I really have no idea why common unix commands like "uname" are not there.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            I am referring to /bin (which is the system bin not the one in your home directory). Can you check that directory?

            Comment

            • atonidas
              Member
              • May 2017
              • 15

              #7
              I just checked the computer/bin directory, and there are uname and true command in here. it's here.

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                So is that /bin directory in your $PATH. It normally should be (unless you changed the $PATH drastically). Put that directly back in there, if it is not present.
                Code:
                 export PATH=$PATH:\bin

                Comment

                • atonidas
                  Member
                  • May 2017
                  • 15

                  #9
                  Originally posted by GenoMax View Post
                  So is that /bin directory in your $PATH. It normally should be (unless you changed the $PATH drastically). Put that directly back in there, if it is not present.
                  Code:
                   export PATH=$PATH:\bin
                  I am following your advice and I put everything back in there. Then I start compiling the "ngs-sdk.1.3.0-linux" again following the instruction and I got this message :

                  Code:
                  atonidas@atonidas:~/tool/ngs-sdk.1.3.0-linux/share$ make
                  c++   -g -o AlignSliceTest AlignSliceTest.cpp -L/usr/local/ngs/ngs-sdk/lib64/ -L/usr/local/ngs/ngs-sdk/lib64 -lncbi-ngs-c++ -lngs-c++ -lngs-bam-c++ -lncbi-ngs-c++ -lncbi-vdb-static -lngs-adapt-c++ -lpthread -ldl -lm 
                  AlignSliceTest.cpp:28:31: fatal error: ngs-bam/ngs-bam.hpp: No such file or directory
                  compilation terminated.
                  Makefile:84: recipe for target 'AlignSliceTest' failed
                  make: *** [AlignSliceTest] Error 1
                  I already add library directory to my LD_LIBRARY_PATH as instructed, but I still got the same message. I am not sure what happen

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    Perhaps you have a corrupted/incomplete download of the software. Can you re-download and try again?

                    Comment

                    Latest Articles

                    Collapse

                    • SEQadmin2
                      Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                      by SEQadmin2



                      Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                      There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                      Today, 05:17 AM
                    • GATTACAT
                      Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                      by GATTACAT
                      Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                      07-01-2026, 11:43 AM
                    • SEQadmin2
                      Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                      by SEQadmin2


                      I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                      Here are nine questions we think about, in roughly the order they matter, before...
                      06-18-2026, 07:11 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, Today, 10:08 AM
                    0 responses
                    6 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, Yesterday, 11:05 AM
                    0 responses
                    8 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-02-2026, 11:08 AM
                    0 responses
                    31 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-30-2026, 05:37 AM
                    0 responses
                    29 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...