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
          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, Today, 07:03 AM
        0 responses
        10 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-10-2024, 06:35 AM
        0 responses
        31 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-09-2024, 02:46 PM
        0 responses
        41 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-07-2024, 06:57 AM
        0 responses
        33 views
        0 likes
        Last Post seqadmin  
        Working...
        X