Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Fernas
    Member
    • Apr 2013
    • 74

    fastq-dump for incomplete files

    Hi All,

    I huave a big list of SRA accession numbers (e.g. SRR651693, ..etc). I used fastq-dump to download all these accessions and convert to directly to fastq (without the need to store sra in the disk).
    However, I Noticed that for some of the files, the number of reads is different than the number of reads for that file in the NCBI website, which means that the download operation for this dataset was incomplete.

    My question is:
    is there any validation tool within sra toolkit that I can call (within a script to iterate through fastq files) so it compares the downloaded fastq file with the metadata in the website?
    (I know there vdb-validate, but it works only for sra files not for fastq files).
  • hdashnow
    Junior Member
    • Dec 2012
    • 3

    #2
    I would like to echo this question. Is there some way to download an md5 sum or similar to check the fastq files against?

    Comment

    • piet
      Member
      • Aug 2014
      • 21

      #3
      Originally posted by hdashnow View Post
      Is there some way to download an md5 sum or similar to check the fastq files against?
      'fastq-dump' will first download the SRA file and store it on your local disk. After download is finished, it will convert the SRA file to FASTQ.

      If you want to check the integrity of the downloaded SRA file, you can break the procedure into several steps. First download the SRA file with 'prefetch'. Then check its integrity with 'vdb-validate'. And finally extract the reads with 'fastq-dump'.

      On the command line you can use the AND operator ('&&') to stop precessing after a failure.
      Code:
      prefetch SRR651693 && vdb-validate SRR651693 && fastq-dump SRR651693

      Comment

      • hdashnow
        Junior Member
        • Dec 2012
        • 3

        #4
        Originally posted by piet View Post
        'fastq-dump' will first download the SRA file and store it on your local disk. After download is finished, it will convert the SRA file to FASTQ.

        If you want to check the integrity of the downloaded SRA file, you can break the procedure into several steps. First download the SRA file with 'prefetch'. Then check its integrity with 'vdb-validate'. And finally extract the reads with 'fastq-dump'.

        On the command line you can use the AND operator ('&&') to stop precessing after a failure.
        Code:
        prefetch SRR651693 && vdb-validate SRR651693 && fastq-dump SRR651693
        Thanks peit. That worked perfectly.

        Comment

        Latest Articles

        Collapse

        • mylaser
          Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by mylaser
          Kheloyaar: The Complete Guide to Kheloyaar Loginand Kheloyaar ID
          The online gaming industry has transformed the way people enjoy digital entertainment. As technology continues to improve, players are looking for platforms that offer convenience, security, and a seamless user experience. Kheloyaarhas gained attention among users who value an easy-to-use platform, quick account access, and a simple registration process.
          Whether you're exploring Kheloyaar for the first time or want to understand...
          Yesterday, 09:27 PM
        • SEQadmin2
          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by SEQadmin2



          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
          ...
          Yesterday, 11:10 AM
        • 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...
          07-08-2026, 05:17 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 10:04 AM
        0 responses
        8 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-08-2026, 10:08 AM
        0 responses
        7 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-07-2026, 11:05 AM
        0 responses
        11 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-02-2026, 11:08 AM
        0 responses
        31 views
        0 reactions
        Last Post SEQadmin2  
        Working...