Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • shivshiv
    Junior Member
    • Sep 2012
    • 1

    Generating genome with splice junctions - STAR

    Hi,

    I am wondering how to go about including splice junction's database when generating a genome with STAR. I am using bovine genome downloaded from UCSC (BosTau7/Btau_4.6.1)

    I have successfully generated this genome as it is and run mapping jobs against it. I'm just wondering if anyone can point me in the right direction for finding a .gtf file with annotated introns in the three column format:

    Chr Start End Strand +/-

    I can't see one anywhere on the UCSC site, do I have to create one myself?

    Any help would be much appreciated, I'm new to this!
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    You can find the GFF files for (BosTau7/Btau_4.6.1) at NCBI: ftp://ftp.ncbi.nlm.nih.gov/genomes/Bos_taurus/GFF/

    Comment

    • shivshiv
      Junior Member
      • Sep 2012
      • 1

      #3
      Thanks a million. I'm having a bit of trouble now with generating the genome though.

      code is:

      /shared/STAR_2.3.0e/STAR --runMode generateGenome --runThreadN 8 --genomeDir /data/shared/genomes/bosTau7 --genomeFastaFiles /data/shared/genomes/bosTau7/bosTau7.fa

      to generate genome without spliced junctions. Not quite sure how to include the gff files but I was going to add --sjdbFileChrStartEnd alt_BosTau_4.6.1_scaffolds.gff3 to the end of the above. Please let me know if this is wrong

      However, whenever I try anything now all that comes up is:

      "Aug 06 13:29:03 ..... Started STAR run
      shivshiv@compute:/data/shared/genomes/bosTau7>"

      Its just returning to the command line without any error message?

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Check to make sure that the file from NCBI is in the 4-column format (quotes from STAR manual).

        Chr \tab\ Start \tab\ End \tab\ Strand(+or-)
        According to the manual you need to specify for GFF3 files
        --sjdbGTFtagExonParentTranscript Parent
        along with:
        --sjdbOverhang <N>: the length of the "overhang" on each side of a splice junctions. Ideally it should be equal to (MateLength - 1).

        Comment

        • bruce01
          Senior Member
          • Mar 2011
          • 160

          #5
          You have "--runMode generateGenome" when it should be "--runMode genomeGenerate"

          Comment

          • alexdobin
            Senior Member
            • Feb 2009
            • 161

            #6
            Hi @shivshiv,

            @bruce01 and #GenoMax advices were spot on. So your command for generating the genome with GFF3 annotation would look like:

            STAR --runThreadN 8 --runMode genomeGenerate --genomeDir /data/shared/genomes/bosTau7/ --genomeFastaFiles /data/shared/genomes/bosTau7/bosTau7.fa --sjdbGTFfile /data/shared/genomes/bosTau7/alt_BosTau_4.6.1_scaffolds.gff3 --sjdbGTFtagExonParentTranscript Parent --sjdbOverhang 100

            Comment

            • lfg
              Junior Member
              • Oct 2012
              • 1

              #7
              Hi - @shivshiv I realise you've already solved your original problem, but in case anyone else has the same problem here is how I made my own table:

              1. UCSC table browser for your genome
              2. Extract fasta sequence for each intron (keep each one separate)
              3. Grep out the fasta headers (will contain all the relevant details)
              4. Open in excel, use data-to-columns to pull out the relevant details as separate columns, delete the rest.

              Definitely not the most high tech efficient way of doing it but it got the job done quickly!

              Comment

              • Brian Bushnell
                Super Moderator
                • Jan 2014
                • 2709

                #8
                If you want to do cross-species alignment, particularly RNA-seq, I suggest BBMap. I don't know of anything else capable of cross-species RNA-seq. BBMap does not use GFF files, but for RNA-seq, you do need to set the maxindel flag appropriately, e.g. "maxindel=200000" if you expect the most introns to be under 200kb.

                Comment

                • kurban910
                  Member
                  • Jul 2014
                  • 58

                  #9
                  Originally posted by Brian Bushnell View Post
                  If you want to do cross-species alignment, particularly RNA-seq, I suggest BBMap. I don't know of anything else capable of cross-species RNA-seq. BBMap does not use GFF files, but for RNA-seq, you do need to set the maxindel flag appropriately, e.g. "maxindel=200000" if you expect the most introns to be under 200kb.
                  thanks. let me see can i find more info about BBMap to help me understand it further more.
                  Last edited by kurban910; 09-27-2014, 02:31 AM.

                  Comment

                  Latest Articles

                  Collapse

                  • 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...
                    Today, 05:17 AM
                  • 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.
                    07-01-2026, 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, Yesterday, 11:05 AM
                  0 responses
                  7 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-02-2026, 11:08 AM
                  0 responses
                  28 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 06-30-2026, 05:37 AM
                  0 responses
                  28 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 06-26-2026, 11:10 AM
                  0 responses
                  27 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...