Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • NDUFB11
    Member
    • Jul 2017
    • 34

    STAR Aligner quantMode and fatal error

    Hello Everyone,

    I have problems with STAR aligner.
    I want to use the quantMode option in order to have .tab file that I will use for later analysis.

    The first thing I did is the index of the genome:

    Code:
    STAR --runMode genomeGenerate --genomeDir genome/star/ --genomeFastaFiles /genome/Homo_sapiens.GRCh37.75.fa --sjdbGTFfile /genome/Homo_sapiens.GRCh37.75.gtf --runThreadN 20 --sjdbGTFtagExonParentTranscript Parent --sjdbGTFfeatureExon CDS --outFileNamePrefix genome/star/

    from where I obtained this list of files

    Code:
    total 382248
    -rw-rw-r--. 1        617 Mar 26 23:06 chrLength.txt
    -rw-rw-r--. 1       1330 Mar 26 23:06 chrNameLength.txt
    -rw-rw-r--. 1        713 Mar 26 23:06 chrName.txt
    -rw-rw-r--. 1       919 Mar 26 23:06 chrStart.txt
    -rw-rw-r--. 1      22187668 Mar 26 23:22 exonGeTrInfo.tab
    -rw-rw-r--. 1      21831277 Mar 26 23:22 exonInfo.tab
    -rw-rw-r--. 1     784390 Mar 26 23:22 geneInfo.tab
    -rw-rw-r--. 1        346597481 Mar 26 23:22 Log.out
    drwx------. 2         6 Mar 26 23:05 _STARtmp
    -rw-rw-r--. 1        0 Mar 26 23:22 transcriptInfo.tab
    then I run my sample

    Code:
    STAR --genomeDir genome/star --readFilesIn my_fastq/Treated_1_m1.fastq.gz my_fastq/Treated_1_m2.fastq.gz --outSAMtype BAM SortedByCoordinate --sjdbGTFfile genome/Homo_sapiens.GRCh37.75.gtf --quantMode TranscriptomeSAM GeneCounts --twopassMode Basic –alignIntronMax 15000 --outFilterIntronMotifs RemoveNoncanonical --runThreadN 20 --sjdbGTFtagExonParentTranscript Parent --sjdbGTFfeatureExon CDS --outReadsUnmapped fastx --readFilesCommand zcat
    and I have this error,


    Code:
    Mar 27 03:32:36 ..... started STAR run
    Mar 27 03:32:36 ..... loading genome
    
    EXITING because of FATAL ERROR: could not open genome file genome/star2/genomeParameters.txt
    SOLUTION: check that the path to genome files, specified in --genomeDir is correct and the files are present, and have user read permsissions
    
    Mar 27 03:32:36 ...... FATAL ERROR, exiting

    It seems like that he can not find the genomeParameters.txt file but was not even created during the indexing.

    Does anybody had a similar problem or knows the solution?

    Thank you for help
    Last edited by NDUFB11; 03-26-2019, 06:48 PM.
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    See this: https://github.com/alexdobin/STAR/issues/292

    Use full path for genome dir in your command.

    Comment

    • NDUFB11
      Member
      • Jul 2017
      • 34

      #3
      Hi GenoMax,

      unfortunately writing the entire path didn't help,

      there must be something in my index structure command line that need to be adjusted I guess.

      the problem is that if I want to use the option

      Code:
      --quantMode TranscriptomeSAM GeneCounts
      I need to use the fasta format along with the GTF format for the index, otherwise I can get the genomeParameters.txt by using only the fasta format
      Thank you for you answer anyways

      Comment

      • sklages
        Senior Member
        • May 2008
        • 628

        #4
        Looks like your genome generation failed. There are missing quite a few files.

        Have a look at
        Log.out
        Are you seeing some errors?
        Usually it should finish with sth. like:
        Mar 13 17:07:06 ..... finished successfully
        DONE: Genome generation, EXITING
        And yes, just to be sure, I'd also use absolute paths as parameters ..

        Comment

        • NDUFB11
          Member
          • Jul 2017
          • 34

          #5
          Hi sklages,
          I solved the problem by skipping TrascriptomeSAM,
          running just this:

          --quantMode GeneCounts

          Thank you

          Comment

          Latest Articles

          Collapse

          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            Yesterday, 11:43 AM
          • SEQadmin2
            Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by SEQadmin2


            I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

            Here are nine questions we think about, in roughly the order they matter, before...
            06-18-2026, 07:11 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Today, 11:08 AM
          0 responses
          6 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-30-2026, 05:37 AM
          0 responses
          11 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-26-2026, 11:10 AM
          0 responses
          19 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-17-2026, 06:09 AM
          0 responses
          53 views
          0 reactions
          Last Post SEQadmin2  
          Working...