Unconfigured Ad

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

    #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

    • 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...