Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Downloading multiple SRA runs

    Hello, I'm having some difficulties downloading multiple runs from an experiment in SRA. I don't want *all* the runs, or all the data from the experiment. I just want a selection I can give myself. I've googled about, and tried the idea of saving the selected runs to a cvs file by file>summary. and then running this command:
    sed 1d sra_result.csv | cut -f14 | wget -i-

    after observing the error of no URL, I checked the csv file summary, thinking I got the wrong column. Opening the csv file showed the runs, and the 14th entry was indeed the URL, but the entire file was not separating properly. I then added the separator to the beginning of the file:
    sep=","
    That still didn't work. It seems a novice problem, has anyone had it and/or know how to solve it?

    I know of aspera, but that also seemed to be single files from the download guide example:
    [email protected]:2...96072.lite.sra

    (I do have aspera installed) What I've tried is downloading a directory, so something like:
    [email protected]:22/sra/sra-instant/reads/ByRun/litesra/SRR/SRR096
    and also (maybe silly but getting desperate) tried this
    [email protected]:22/sra/sra-instant/reads/ByRun/litesra/SRR/SRR096/SRR096072-SRR096075
    trying to use their download example for my own purposes..

  • #2
    Try this:

    Code:
    wget -r -nd -nH ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads//ByRun/litesra/SRR/SRR096
    This will get all accessions # in the SRR096 directory.

    Comment


    • #3
      Hi,

      The Code suggested by GenoMax is very useful. I'm just providing a modification of the code:

      Store the SRR096001-SRR096999 #s that would want to download in a file:
      for example:
      cat > SRR_2_download
      SRR096023
      SRR096072
      SRR096074

      for i in $(cat SRR_2_download);do wget -r -nd -nH ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra-instant/reads/ByRun/litesra/SRR/SRR096/$i/*; done

      This will download the specific SRA files that are listed in the file SRR_2_download

      Thanks
      --
      Muthu

      Comment

      Latest Articles

      Collapse

      • seqadmin
        Recent Advances in Sequencing Analysis Tools
        by seqadmin


        The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
        05-06-2024, 07:48 AM
      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, 05-14-2024, 07:03 AM
      0 responses
      19 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-10-2024, 06:35 AM
      0 responses
      43 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-09-2024, 02:46 PM
      0 responses
      53 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-07-2024, 06:57 AM
      0 responses
      42 views
      0 likes
      Last Post seqadmin  
      Working...
      X