Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sbdk82
    Member
    • Jul 2014
    • 26

    STAR Aligner

    I am running STAR for aligning wheat RNA-Seq data with Ensemble reference file . The size of reference file is 4gb. The genome directory created in the first step is 42 gb. The mapping step took more than 50 hours. Some jobs are still running for more than 75 hours

    I used 5 nodes with 100gb each in our university cluster . Here is the script I used
    HTML Code:
    #!/bin/sh
    #SBATCH --job-name=STAR
    #SBATCH --nodes=5
    #SBATCH --ntasks-per-node=1
    #SBATCH --time=120:00:00
    #SBATCH --mem=100g
    #SBATCH --error=<Error File Name>
    #SBATCH --output=<Output File Name>
    
    cd  /Dir_PATH/STAR
    
    ./STAR_2.4.0b/STAR --genomeDir /Dir_PATH/STAR/index  --readFilesIn  /File_PATH/L001_R1_001.fastq,/File_PATH/L002_R1_001.fastq File_PATH/L001_R2_001.fastq,/File_PATH/_L002_R2_001.fastq --outFileNamePrefix /Dir_PATH/<Prefix_Name>/ --runThreadN 10

    I ran BWA-MEM on same data and it took less than 10 hours to complete the mapping. Am I doing something wrong or do I need to choose some other parameters ?
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    That seems quite odd. You're giving each of the nodes different files, yes?

    Comment

    • sbdk82
      Member
      • Jul 2014
      • 26

      #3
      I think it uses total 500 gb (100gb x 5 nodes) for this job. It does not distribute different files into different nodes.

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        You're just running the same thing on all of the nodes. If you're doing the same with bwa mem then that's happening there as well.

        Comment

        • dpryan
          Devon Ryan
          • Jul 2011
          • 3478

          #5
          I'll add that loading the I/O overhead of loading the index and constantly overwritting itself could cause a slow down (I limit STAR two 4 concurrent instances on our cluster when outputting to SAM since otherwise I can't guarantee that the drives can keep up if any other jobs are running).

          Comment

          • sbdk82
            Member
            • Jul 2014
            • 26

            #6
            So I should try with this?

            HTML Code:
            #SBATCH --nodes=1
            #SBATCH --ntasks-per-node=1
            #SBATCH --time=120:00:00
            #SBATCH --mem=100g

            Comment

            • dpryan
              Devon Ryan
              • Jul 2011
              • 3478

              #7
              Sure, though you don't need to specify --ntasks-per-node when you just use one node. For reference, here is the start of mine:

              Code:
              #!/bin/bash
              #SBATCH -J STAR-align
              #SBATCH -t 4:00:00
              nNodes=4
              #SBATCH -N 4
              #SBATCH -A ryand
              #SBATCH --exclusive
              #SBATCH --partition=work
              BIN=$WORK/bin
              i=0
              for i in `seq $nNodes`
              do
                  j=$(($i-1))
                  srun -N 1 --relative $j $BIN/slurm_STAR.sh $j $nNodes &
              done
              wait
              rm Aligned.out.sam Log.out Log.progress.out
              rm -rf _STARtmp
              The slurm_STAR.sh shell script will align every Nth pair of fastq files (or single fastq file, as appropriate) in a preset directory. Every instance is run on an individual node. Note that I highly recommend using --exclusive if that's not otherwise the default on your cluster.

              Comment

              • sbdk82
                Member
                • Jul 2014
                • 26

                #8
                Thanks !!! I will try that

                Comment

                Latest Articles

                Collapse

                • mylaser
                  Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                  by mylaser
                  Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                  If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                  This guide explains everything you need to know about...
                  Today, 01:13 AM
                • 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.
                  ...
                  07-09-2026, 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, 07-09-2026, 10:04 AM
                0 responses
                15 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-08-2026, 10:08 AM
                0 responses
                10 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-07-2026, 11:05 AM
                0 responses
                22 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...