Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nigel
    Junior Member
    • Sep 2009
    • 9

    #1

    ReferenceMapper: Annotation files & known SNPs

    Dear All,

    I am currently analysing a 454 dataset using ReferenceMapper (part of the 454 package). I have captured and sequenced a contiguous 5Mb region of human chromosome 21. I have managed to map all my reads onto a reference sequence with ReferenceMapper. However, I have not managed to download and upload the right files containing the annotation and known SNPs which are crucial to data interpretation. I know the files have to be downloaded from UCSC's ftp server.

    I was wondering if someone can help me with that.

    Many thanks,
    N
  • kmcarr
    Senior Member
    • May 2008
    • 1181

    #2
    Nigel,

    From the UCSC FTP directory ftp://hgdownload.cse.ucsc.edu/goldenPath/hg18/database you want the files refGene.txt.gz and snp130.txt.gz

    If you want to create files which contain only the region of interest (your 5 Mbp of Chr21) you could use the Table Browser (http://genome.ucsc.edu/cgi-bin/hgTables) to define the table and region of interest then output to a file just this subset.

    Comment

    • Nigel
      Junior Member
      • Sep 2009
      • 9

      #3
      Thank you

      Thanks very much kmcarr. I'll give this a try.

      Cheers,
      N

      Comment

      • Nigel
        Junior Member
        • Sep 2009
        • 9

        #4
        ReferenceMapper Issues

        Originally posted by kmcarr View Post
        Nigel,

        From the UCSC FTP directory ftp://hgdownload.cse.ucsc.edu/goldenPath/hg18/database you want the files refGene.txt.gz and snp130.txt.gz

        If you want to create files which contain only the region of interest (your 5 Mbp of Chr21) you could use the Table Browser (http://genome.ucsc.edu/cgi-bin/hgTables) to define the table and region of interest then output to a file just this subset.
        Hi kmcarr,

        I have downloaded the files and uploaded them into ReferenceMapper. When I include the 'Genome annotation' and 'known SNP' files, the information in the HCDiffs table map to genes and SNPs on the wrong chromosome: chr2 instead of 21. I figured I need to input a targeted region. When I type in the string chr21:****-*****, I get a blank HCDiffs file.

        Do you know what could be causing this? Your help is kindly appreciated.

        Cheers,
        N

        Comment

        • kmcarr
          Senior Member
          • May 2008
          • 1181

          #5
          Nigel,

          In the Results Files look at 454RefStatus.txt. What fraction of your reads map to Chr2 vs. Chr21?

          Comment

          • Nigel
            Junior Member
            • Sep 2009
            • 9

            #6
            454Refstatus?

            Originally posted by kmcarr View Post
            Nigel,

            In the Results Files look at 454RefStatus.txt. What fraction of your reads map to Chr2 vs. Chr21?

            Hi kmcarr,
            here's what the RefStatus file looks like (see below): Most of my reads map to chr21 (83.26%)! what could be causing this? Could it be because of the design of the reference fasta file?

            File:/data2/RAYMOND/chr21/chr21_451_12/mapping/454RefStatus.txt
            Lines:3
            Modified:Thu Sep 24 18:53:57 BST 2009
            _________________________________________
            Reference Num Unique Pct of All Pct of Pct Coverage
            Accession Matching Reads Unique Matches All Reads of Reference Description
            chr21:40999701-46944323 427445 100.0% 64.0% 83.26%

            Cheers,
            N.

            Comment

            • kmcarr
              Senior Member
              • May 2008
              • 1181

              #7
              Nigel,

              This information tells me that you were only attempting to map reads to a 5.9Mbp segment of Chr21 which you targeted. There would be no reads mapped to Chr2 since it was not included as part of the reference. Is this information from the mapping performed when you entered information into the targeted region field (i.e. chr21:40999701-46944323) or from a mapping where no targeted region was specified? What is the reference file you are providing to the gsMapper program; is it the entire human genome or is it a file with just your target region?

              BTW, the 83.26% is what fraction of the reference is covered by reads. You had 64% of your reads (427,445 of them) map to this 5.9Mbp region of chr21. This is what you would be hoping to see in a seq capture experiment.
              Last edited by kmcarr; 09-29-2009, 05:02 AM.

              Comment

              • Nigel
                Junior Member
                • Sep 2009
                • 9

                #8
                Originally posted by kmcarr View Post
                Nigel,

                This information tells me that you were only attempting to map reads to a 5.9Mbp segment of Chr21 which you targeted. There would be no reads mapped to Chr2 since it was not included as part of the reference. Is this information from the mapping performed when you entered information into the targeted region field (i.e. chr21:40999701-46944323) or from a mapping where no targeted region was specified? What is the reference file you are providing to the gsMapper program; is it the entire human genome or is it a file with just your target region?

                BTW, the 83.26% is what fraction of the reference is covered by reads. You had 64% of your reads (427,445 of them) map to this 5.9Mbp region of chr21. This is what you would be hoping to see in a seq capture experiment.

                Hi kmcarr,

                My reference sequence was chr21:40999701-46944323, not the entire genome. What puzzles me is that when I upload the annotation and known SNP, the HCDiffs table contains genes and SNPs that map to chr2. When I input chr21:40999701-46944323 in the target sequence slot to target the output, the HCDiffs table is blank!!

                What should I check?

                Many thanks,
                N.
                Last edited by Nigel; 09-29-2009, 05:19 AM.

                Comment

                • Nigel
                  Junior Member
                  • Sep 2009
                  • 9

                  #9
                  Analysing ReferenceMapper HCDiff File with Excel

                  Is it possible to export a HCDiff file from ReferenceMapper as an excel file?

                  Cheers,
                  N

                  Comment

                  • kmcarr
                    Senior Member
                    • May 2008
                    • 1181

                    #10
                    Originally posted by Nigel View Post
                    My reference sequence was chr21:40999701-46944323, not the entire genome. What puzzles me is that when I upload the annotation and known SNP, the HCDiffs table contains genes and SNPs that map to chr2. When I input chr21:40999701-46944323 in the target sequence slot to target the output, the HCDiffs table is blank!!
                    There might by a name mismatch between your reference FASTA file and the reference annotation and SNP files. You say that your reference file only contains the sequence region of interest. What is the definition line of your reference FASTA file? This would be the very first line and should start with a ">"; spacing and punctuation are critical.

                    Is it possible to export a HCDiff file from ReferenceMapper as an excel file?
                    I wish it was possible but I have not found a way. You can get most of the information in a tab delimited format which you can then import into Excel by extracting it from the 454HCDiffs.txt file

                    Code:
                    grep ^">" 454HCDiffs.txt | sed -e 's/^>//' > HCDiffs_table.tsv
                    You can then open the HCDiffs_table.tsv file with Excel.

                    Comment

                    • maven
                      Member
                      • Oct 2009
                      • 11

                      #11
                      As far as I know, the mapper won't automatically offset coordinates in the snp file to reflect the subsequence you used in your mapping. You should extract the SNPs from the regions of interest from the snp file and re-coordinate them to match their actual coordinates in the fasta file you used. For example, if you are using chr 2 from 10,001-20,000 as your reference, extract those SNPs from the snp file and subtract 10,000 from every listed coordinate.

                      Comment

                      • Jeremy
                        Senior Member
                        • Nov 2009
                        • 190

                        #12
                        I have done a similar experiment, capture arrays then 454 sequencing. I have found that when I used only the capture region as the reference that a lot of reads from other similar regions of the genome have been aligned onto the reference despite multiple mismatches (I need to tighten the minimum alignment identity also I think, but its a trade off between excluding sequences from other regions and identifying sequences from the target region that are legitimately different). I am about to redo the alignment using the whole genome to see if that fixes it. Has anyone else had problems like this?

                        Comment

                        • Jeremy
                          Senior Member
                          • Nov 2009
                          • 190

                          #13
                          Using the whole genome instead of the just the target region as the reference improves the alignment immensely. It also has the benefit of outputing the data with the actual chromosomal coordinates.

                          Comment

                          • bioinfosm
                            Senior Member
                            • Jan 2008
                            • 483

                            #14
                            Originally posted by Jeremy View Post
                            Using the whole genome instead of the just the target region as the reference improves the alignment immensely. It also has the benefit of outputing the data with the actual chromosomal coordinates.
                            I have the same experience. Lots of spurious reads (due to non-perfect capture) are not forcibly aligned to a restricted region anymore. However, it is very time and resource consuming to do the whole genome alignment using 454!
                            --
                            bioinfosm

                            Comment

                            • Jeremy
                              Senior Member
                              • Nov 2009
                              • 190

                              #15
                              I did mine on the cluster supplied with the machine, using that computer the analysis only took about 4 hours for a full gasket (2 halves) using a 2.5 Gb genome. But even if it takes a week on a desktop it is well worth it. My average read depth went from 24 to about 12, taking a look at the difference using something like eagleview shows just how good the alignment becomes.

                              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, 11:13 AM
                              0 responses
                              18 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, Yesterday, 10:48 AM
                              0 responses
                              18 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-15-2026, 10:52 AM
                              0 responses
                              36 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-14-2026, 05:39 AM
                              0 responses
                              42 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...