Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dmb
    Junior Member
    • Nov 2010
    • 6

    #1

    SOAPsnp - SNP information file

    SOAPsnp is able to take a SNP information file for use in calling SNPs. Unfortunately, the format of this file seems to be specific to SOAPsnp. I can pull data from NCBI's dbSNP archive but this file is in a different format AND does not contain all the information that SOAPsnp takes as input. I can parse the dbSNP files (one for each chromosome) and write to the SOAPsnp format but if this can be pulled from somewhere I don't know of, that would be preferred.

    Does anyone use the -s option when using SOAPsnp?
    If you use it, did you have to generate your own SNP info file?

    Also, it looks like some of the attributes that SOAPsnp takes can be "zeroed" out if the data is unknown - e.g.
    frequency of A,
    frequency of C,
    frequency of T,
    frequency of G
    ...or given a default value if unknown - e.g.
    whether the SNP is validated by experiment (1 is true, 0 is false),
    whether the SNP is actually an indel (1 is true, 0 is false).

    This is not the method I would prefer but I guess its better than not using the -s option at all.

    Thanks,
    Dan
    Last edited by dmb; 02-15-2011, 01:10 PM.
  • dmb
    Junior Member
    • Nov 2010
    • 6

    #2
    follow up

    To those that might be interested...

    I found somewhat of a solution. I used the Table Browser from UCSC to extract SNP data using the following parameters.
    group: All Tables
    database: hg19
    table: snp131
    region: genome
    I output this to a file (tab-delim) that has the following header information:
    #bin
    chrom
    chromStart
    chromEnd
    name
    score
    strand
    refNCBI
    refUCSC
    observed
    molType
    classvalid
    avHet
    avHetSE
    func
    locType
    weight

    One of the rows of data looks like this:
    585 chr1 10491 10492 rs55998931 0 + C C C/T genomic single unknown 0 0 near-gene-5 exact 1

    Using some simple R code I should be able to create the SOAPsnp SNP info file.

    If anyone has another method, I would love to hear about it.

    Comment

    • dmb
      Junior Member
      • Nov 2010
      • 6

      #3
      the file from UCSC has 26,033,054 rows.

      Comment

      • asangqi
        Junior Member
        • Feb 2011
        • 4

        #4
        As far as I know (form my experience)
        the format of dbsnp file which soapsnp needs is:
        chromosome name: should same with reference chr name
        position:
        whether including allele frequency: (0/1) 0:no 1:yes
        whether this mark be validate: (0/1)
        is this mark is a indel?: (0/1)
        frequency of A,
        frequency of C,
        frequency of T,
        frequency of G
        snp ‘s number

        so you’d better not use “-“ , the SoapSNP may cannot realize it( the bug of soapsnp, may be ,I guess)

        Comment

        • biomaseq
          Junior Member
          • Jun 2013
          • 6

          #5
          Originally posted by dmb View Post
          SOAPsnp is able to take a SNP information file for use in calling SNPs. Unfortunately, the format of this file seems to be specific to SOAPsnp. I can pull data from NCBI's dbSNP archive but this file is in a different format AND does not contain all the information that SOAPsnp takes as input. I can parse the dbSNP files (one for each chromosome) and write to the SOAPsnp format but if this can be pulled from somewhere I don't know of, that would be preferred.

          Does anyone use the -s option when using SOAPsnp?
          If you use it, did you have to generate your own SNP info file?

          Also, it looks like some of the attributes that SOAPsnp takes can be "zeroed" out if the data is unknown - e.g.
          frequency of A,
          frequency of C,
          frequency of T,
          frequency of G
          ...or given a default value if unknown - e.g.
          whether the SNP is validated by experiment (1 is true, 0 is false),
          whether the SNP is actually an indel (1 is true, 0 is false).

          This is not the method I would prefer but I guess its better than not using the -s option at all.

          Thanks,
          Dan
          I have the same promoble!

          Comment

          Latest Articles

          Collapse

          • kinpict.com
            Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by kinpict.com
            The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
            Today, 06:37 PM
          • SEQadmin2
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2





            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
            10-30-2026, 06:46 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          2 responses
          56 views
          0 reactions
          Last Post kinpict.com  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          175 views
          0 reactions
          Last Post SEQadmin2  
          Working...