Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • leofixings
    Junior Member
    • May 2011
    • 1

    Similarity programs for SNP files

    Hi,

    I'm a newbie to this field so please forgive the use of very basic language.

    I've got two files. Each contains position and nucleotide information on each line.

    Each file holds just the SNP information for a person. So for ex. for person A, the file would look like.
    Chromosome 6: 133,088,927, G
    Chromosome 6: 133,088,928, A
    and so on.

    The second file too has nucleotide information for the exact same locations.

    Is there a utility somewhere that will show me the similarity between the two files? Something on the lines of BLAST which ofcourse requires the full sequence information and not just SNPs.

    Prompt help will be much appreciated.

    Thanks.

    PS. the location information might not be exactly as detailed, I've oversimplified it for the sake of clarity.
    Last edited by leofixings; 05-03-2011, 07:38 AM. Reason: Missed out some information.
  • Richard Finney
    Senior Member
    • Feb 2009
    • 701

    #2
    comm

    type "man comm" at command line and see if you can use the "comm" command. Perhaps simplly piping the output to "wc" might be a crude, but effective measure.

    COMM(1) User Commands COMM(1)

    NAME
    comm - compare two sorted files line by line

    SYNOPSIS
    comm [OPTION]... FILE1 FILE2

    DESCRIPTION
    Compare sorted files FILE1 and FILE2 line by line.

    With no options, produce three-column output. Column one contains lines unique to FILE1, column two contains
    lines unique to FILE2, and column three contains lines common to both files.

    -1 suppress lines unique to FILE1

    -2 suppress lines unique to FILE2

    -3 suppress lines that appear in both files

    Comment

    Latest Articles

    Collapse

    • 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, 07-02-2026, 11:08 AM
    0 responses
    21 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-30-2026, 05:37 AM
    0 responses
    22 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-26-2026, 11:10 AM
    0 responses
    21 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-17-2026, 06:09 AM
    0 responses
    54 views
    0 reactions
    Last Post SEQadmin2  
    Working...