Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DonDolowy
    Member
    • Oct 2012
    • 56

    #1

    Cuffmerge Warning: couldn't find fasta record for 'chr1_random'

    Hi everyone,

    I just got my first RNA-seq dataset (50bp, paired-end) and am trying to analyze it using the common top hat - cufflinks - cuffdiff way of doing it. Actually, I am using the pipeline suggested in the following Nat Prot. paper:Differential gene and transcript expression analysis of RNA-seq experiments with TopHat and Cufflinks.

    However, I run into some problems when I use cuffmerge.
    The annotations files I use, are the one downloaded for mm9 on Tophats homepage provided by Illumina.

    cuffmerge -g /home/dalgaard/genomes/mm9/Annotation/Genes/genes.gtf -s /home/dalgaard/genomes/mm9/Sequence/WholeGenomeFasta/genome.fa -p 8 assemblies.txt

    Assemblies.txt contains:
    /home/dalgaard/xx/sample01/sample01_tophat_out/sample01.cufflinks.out/transcripts.gtf
    /home/dalgaard/xx/sample02/sample02_tophat_out/sample02.cufflinks.out/transcripts.gtf

    The error messages is the following that it cannot find the names for the chromosomes.

    I really appreciate your help!

    Thanks a lot.

    Kind regards,

    Kevin Dalgaard
    -------

    cufflinks -o ./merged_asm/ -F 0.05 -g /home/dalgaard/genomes/mm9/Annotation/Genes/genes.gtf -q --overhang-tolerance 200 --library-type=transfrags -A 0.0 --min-frags-per-transfrag 0 --no-5-extend -p 8 ./merged_asm/tmp/mergeSam_file9S5P0t
    [bam_header_read] EOF marker is absent.
    [bam_header_read] invalid BAM binary header (this is not a BAM file).
    File ./merged_asm/tmp/mergeSam_file9S5P0t doesn't appear to be a valid BAM file, trying SAM...
    [21:45:58] Loading reference annotation.
    [21:46:02] Inspecting reads and determining fragment length distribution.
    Processed 26894 loci.
    > Map Properties:
    > Normalized Map Mass: 71083.00
    > Raw Map Mass: 71083.00
    > Fragment Length Distribution: Truncated Gaussian (default)
    > Default Mean: 200
    > Default Std Dev: 80
    [21:46:03] Assembling transcripts and estimating abundances.

    Processed 26412 loci.
    [Sun Dec 2 18:39:40 2012] Comparing against reference file /home/dalgaard/refgenome/mm9.igenes.gtf
    Warning: Your version of Cufflinks is not up-to-date. It is recommended that you upgrade to Cufflinks v2.0.2 to benefit from the most recent features and bug fixes (http://cufflinks.cbcb.umd.edu).
    Warning: couldn't find fasta record for 'chr13_random'!
    Warning: couldn't find fasta record for 'chr17_random'!
    Warning: couldn't find fasta record for 'chr1_random'!
    Warning: couldn't find fasta record for 'chr4_random'!
    Warning: couldn't find fasta record for 'chr5_random'!
    Warning: couldn't find fasta record for 'chr7_random'!
    Warning: couldn't find fasta record for 'chr8_random'!
    Warning: couldn't find fasta record for 'chr9_random'!
    Warning: couldn't find fasta record for 'chrUn_random'!
    Warning: couldn't find fasta record for 'chrX_random'!
    Warning: couldn't find fasta record for 'chrY_random'!
    Last edited by DonDolowy; 12-02-2012, 01:12 PM.
  • joseph.troy
    Junior Member
    • Oct 2012
    • 4

    #2
    Hello,

    Did you find any answers to your couldn't find fasta record for 'chr1_random' i've run into the same problem.

    Thank you

    -Joe

    Comment

    • DonDolowy
      Member
      • Oct 2012
      • 56

      #3
      What I decided to do is to use the grep command and remove all lines containing something with "_random". That allows you to continue your analysis.

      Comment

      • Alex234
        Member
        • Aug 2013
        • 31

        #4
        Hello, which file did you remove words containing '_random' from, and how exactly do you do this with a grep command?

        Thanks

        Alex

        Comment

        • matrix731
          Junior Member
          • Oct 2011
          • 4

          #5
          I think it is because the chr in the gtf you used as '-g' is different from that in the genome fasta file. Maybe you can check the 'chr name' of these two files, by grep "_random" gtf/fa.

          To solve this problem, you can remove all the transcripts which associated with chr*_random in the gtf, then try to do the analysis again.

          Comment

          • Alex234
            Member
            • Aug 2013
            • 31

            #6
            Thanks, that did remove some, but not all, of the error lines. And couldn't these be important sequences that we are grepping?

            Alex

            Comment

            • matrix731
              Junior Member
              • Oct 2011
              • 4

              #7
              Originally posted by Alex234 View Post
              Thanks, that did remove some, but not all, of the error lines. And couldn't these be important sequences that we are grepping?

              Alex
              Maybe.
              So the best way is make sure that the ref gtf and your analysis pipeline are using the same version of genome to locate the transcripts or do the alignment.
              You can download the mouse genome here http://hgdownload.cse.ucsc.edu/downloads.html#mouse from UCSC, which could possibly solve the problem.

              Comment

              • DonDolowy
                Member
                • Oct 2012
                • 56

                #8
                I just find it odd that if you download a certain iGenome "package" (e.g. UCSC mm9) that then the genome.fa and genes.gtf do not correspond and you get this error.

                Personally, I have just removed all lines containing "random".
                If I got it correctly, chr1_random just means that when the genome got assembled, sequences were mapped to chromosome 1 but it is not known specifically where on chromosome 1 they go. Maybe they are repetitive sequences.

                Comment

                • dpryan
                  Devon Ryan
                  • Jul 2011
                  • 3478

                  #9
                  Well, it's odd that the iGenomes files don't always correspond, the error itself makes sense. I wouldn't recommend removing the *_random lines from either a the reference or the annotation. Those sequences/features are actually in the genome, so leaving them out will bias alignment a bit (the magnitude of this effect is likely fairly small, of course).

                  Comment

                  Latest Articles

                  Collapse

                  • SEQadmin2
                    Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                    by SEQadmin2



                    CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                    Despite this, “CRISPR helped turn genome editing from a specialized technique into
                    ...
                    07-31-2026, 11:01 AM
                  • SEQadmin2
                    Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                    by SEQadmin2


                    Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                    The systematic characterization of the human proteome has
                    ...
                    07-20-2026, 11:48 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

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 07-31-2026, 02:55 AM
                  0 responses
                  17 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-24-2026, 12:17 PM
                  0 responses
                  15 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-23-2026, 11:41 AM
                  0 responses
                  13 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-20-2026, 11:10 AM
                  0 responses
                  25 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...