Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Batch processing of files through tophat etc

    If i have a large amount of files i want to run through tophat, htseq and DEseq or other software, do anyone have a neat way (for example a shell script) for doing batch processing so it will start the next run when the previous have finished, so i do not have to start the programs my self with the new parameters?

    Bjørn
    Bjørn Øst

  • #2
    I have various shell scripts for these sorts of things (I expect that's common). Generally you would need to tailor something like that to whatever your experimental design is and your particular file structure (i.e., where the sequence and annotation files are). If you need some examples to get you started, just send me your email address in a private message and I can send a few examples to you.

    Comment


    • #3
      For most simple batch processing I often just use a simple bash loop which will run the jobs serially. If you're going to do this a lot you might want to look into adding some error checks and reporting so you can track down what went wrong if it doesn't work. If you want to work on a larger scale you could also look at a proper queueing system, but that's a whole other level of work.

      An example of one we did recently to map a pile of fastq files with bowtie would be:

      Code:
      for i in *.fastq.gz
      do zcat $i | bowtie -f -m 1 --strata --best -p 6 --chunkmbs=512 --sam /data/public/Genomes/Mouse/NCBIM37/Mus_musculus.NCBIM37 -  > ${i}.sam
      done

      Comment


      • #4
        Thank you both, that was just what i needed to get started
        Bjørn Øst

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Best Practices for Single-Cell Sequencing Analysis
          by seqadmin



          While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
          06-06-2024, 07:15 AM
        • seqadmin
          Latest Developments in Precision Medicine
          by seqadmin



          Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

          Somatic Genomics
          “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
          05-24-2024, 01:16 PM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 06-07-2024, 06:58 AM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 06-06-2024, 08:18 AM
        0 responses
        20 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 06-06-2024, 08:04 AM
        0 responses
        18 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 06-03-2024, 06:55 AM
        0 responses
        13 views
        0 likes
        Last Post seqadmin  
        Working...
        X