Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Milestailsprowe
    Member
    • Jun 2015
    • 31

    #1

    Getting data into Golden Helix Genome Broswer

    Hello I'm trying to get my sorted bam files to read into golden helixs genome broswer. I'm currently using version 2.1.0. Alot of my data comes into the broswer as Did not successfully write coverage data amoung other issues.

    I've done this process

    1.Download Data from NCBI in form of Fastq/Fasta format

    2.Download data from igenome

    3.Unzip Igenome data in linux

    4.Build alignment Bowtie2-align -x “name of Built index” “.fastq” -S “.Sam”

    5. Convert Sam file to Bam file with samtools view -Sb “Sam File” > “Bam File”

    6. samtools sort -n*if not sorted for cufflinks “bam file”

    The data will go through things like cufflinks/tophats. They are also 7gig files but doesnt work in the broswer.


    What can I do to fix this?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Is there a specific reason to use Golden Helix? Why not use IGV from Broad, if you just want to look at your bam files. You also need to index your sorted bam file (would be step 7 in your workflow).

    Comment

    • blancha
      Senior Member
      • May 2013
      • 367

      #3
      samtools sort -n
      According to the command you've posted, you're sorting the BAM file by read name.
      To view the BAM file in any genome browser, you'll want to sort it by coordinates. Just samtools sort, without the -n.

      Code:
      samtools sort
      As pointed out by @GenoMax, you'll want to index the sorted BAM file, at least for IGV, and the genome browsers I know.
      I'll second @GenoMax's vote for IGV. Always choose open source software over commercial software, even freeware. That being said, GenomeBrowse may have features that justify picking it over IGV, but IGV is a pretty nifty program.

      Comment

      • Milestailsprowe
        Member
        • Jun 2015
        • 31

        #4
        Originally posted by GenoMax View Post
        Is there a specific reason to use Golden Helix? Why not use IGV from Broad, if you just want to look at your bam files. You also need to index your sorted bam file (would be step 7 in your workflow).
        I want to compare things in the liver over multiple SRAs and I will try to sort it and report back

        Comment

        • Milestailsprowe
          Member
          • Jun 2015
          • 31

          #5
          Originally posted by blancha View Post
          According to the command you've posted, you're sorting the BAM file by read name.
          To view the BAM file in any genome browser, you'll want to sort it by coordinates. Just samtools sort, without the -n.

          Code:
          samtools sort
          As pointed out by @GenoMax, you'll want to index the sorted BAM file, at least for IGV, and the genome browsers I know.
          I'll second @GenoMax's vote for IGV. Always choose open source software over commercial software, even freeware. That being said, GenomeBrowse may have features that justify picking it over IGV, but IGV is a pretty nifty program.
          Considering my current method can you give me a quick run down on how to insert it into IGV. I'm not getting anything.

          What is the process from fasta or fastq or whatever format to IGV

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            Your "process" up to step 5 is ok.

            6. Samtools "sort" (no -n) your_fle.bam your_file_sorted.
            7. Samtools "index" your_file_sorted.bam.

            Read the IGV user guide in case you are not able to figure things out by starting IGV and pointing it to the directory containing the sorted bam and the bai index file. Remember to select the correct genome build before loading the sorted bam file.

            Comment

            • Milestailsprowe
              Member
              • Jun 2015
              • 31

              #7
              Originally posted by GenoMax View Post
              Your "process" up to step 5 is ok.

              6. Samtools "sort" (no -n) your_fle.bam your_file_sorted.
              7. Samtools "index" your_file_sorted.bam.

              Read the IGV user guide in case you are not able to figure things out by starting IGV and pointing it to the directory containing the sorted bam and the bai index file. Remember to select the correct genome build before loading the sorted bam file.
              gave it a run with a mouse genome and .bam. Got this



              As you can see the file is over a gigabyte so there is data in there

              Comment

              • GenoMax
                Senior Member
                • Feb 2008
                • 7142

                #8
                Did you miss the note up in the main browser window that says "Zoom in to see alignments"?

                By default IGV shows you the entire genome. You have to select a chromosome (or type a gene name in the "go" box to select a region. Even then you may have to click on the "+" sign in top right corner before you start seeing actual reads aligned to genome. You can keep going till you actually see individual bases.

                Comment

                • Milestailsprowe
                  Member
                  • Jun 2015
                  • 31

                  #9
                  Originally posted by GenoMax View Post
                  Did you miss the note up in the main browser window that says "Zoom in to see alignments"?

                  By default IGV shows you the entire genome. You have to select a chromosome (or type a gene name in the "go" box to select a region. Even then you may have to click on the "+" sign in top right corner before you start seeing actual reads aligned to genome. You can keep going till you actually see individual bases.
                  Went all the way and didnt see anything. Nothing is showing up

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    My guess is that your BAM file has chromosome names that do not match what is provided by IGV in terms of the reference (e.g. chr2 vs 2). That is assuming you have selected the correct reference (I see Mouse 129S1 etc in the screenshot above).

                    Where did you get your reference genome from? If you are using a non-standard genome then you can load your own reference sequence in and use it to display data against.

                    Can you post the header from your bam?

                    Code:
                    $ samtools view -H your_bam

                    Comment

                    • Milestailsprowe
                      Member
                      • Jun 2015
                      • 31

                      #11
                      Originally posted by GenoMax View Post
                      My guess is that your BAM file has chromosome names that do not match what is provided by IGV in terms of the reference (e.g. chr2 vs 2). That is assuming you have selected the correct reference (I see Mouse 129S1 etc in the screenshot above).

                      Where did you get your reference genome from? If you are using a non-standard genome then you can load your own reference sequence in and use it to display data against.

                      Can you post the header from your bam?

                      Code:
                      $ samtools view -H your_bam
                      Thanks for the help. I got the reference one from igenome. Trying to get this mouse data to show.

                      Comment

                      • GenoMax
                        Senior Member
                        • Feb 2008
                        • 7142

                        #12
                        Which version did you download from iGenomes? This looks like NCBI or Ensembl since UCSC versions have the word chr in front of the chromosome number. This is certainly not the 129S1 mouse genome as you had selected in the screenshot above.

                        I am going to suggest that you use the sequence and the annotation in your iGenomes download in IGV so everything matches and you can display the data. See "Loading a genome" section.

                        Comment

                        • Milestailsprowe
                          Member
                          • Jun 2015
                          • 31

                          #13
                          Originally posted by GenoMax View Post
                          Which version did you download from iGenomes? This looks like NCBI or Ensembl since UCSC versions have the word chr in front of the chromosome number. This is certainly not the 129S1 mouse genome as you had selected in the screenshot above.

                          I am going to suggest that you use the sequence and the annotation in your iGenomes download in IGV so everything matches and you can display the data. See "Loading a genome" section.
                          I downloaded the NCBI GRCm38 version. Should I use something else? Which one would you use?

                          Comment

                          • blancha
                            Senior Member
                            • May 2013
                            • 367

                            #14
                            In IGV, just pick the mm10 genome instead.
                            It's the same genome as GRCm38.
                            I think you'll have to reload the BAM file after you've selected the correct genome.

                            Then, zoom into a location where you know you will have coverage.
                            For RNA-Seq for example, you could pick a housekeeping gene, like GAPDH.
                            Just type GAPDH in the search box, and click on the Go button.

                            Comment

                            • GenoMax
                              Senior Member
                              • Feb 2008
                              • 7142

                              #15
                              @blancha: mm10 may not work if the one included in IGV is UCSC version which has the "chr" in front of all chromosome numbers.

                              @Milestailsprowe: If above does not work, create a new "genome" by pointing to the iGenomes (/path_to/WholeGenomesFasta/genome.fa file) and use the corresponding GTF file from (/path_to/Annotations/Genes/genes.gtf). Open your BAM file in IGV.

                              Comment

                              Latest Articles

                              Collapse

                              • SEQadmin2
                                Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                                by SEQadmin2



                                Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                                Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                                ...
                                10-14-2026, 09:55 AM
                              • SEQadmin2
                                New Genomics Technologies Take Aim at Long-Standing Limits
                                by SEQadmin2


                                Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                                We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                                ...
                                09-28-2026, 10:25 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, Yesterday, 10:52 AM
                              0 responses
                              9 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-14-2026, 05:39 AM
                              0 responses
                              19 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-13-2026, 09:56 AM
                              0 responses
                              16 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-09-2026, 11:14 AM
                              0 responses
                              27 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...