Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fkrueger
    Senior Member
    • Sep 2009
    • 627

    #1

    SNPsplit - Allele-specific alignment sorting for N-masked genomes

    We have written a little tool to sort reads in an allele-specific manner and thought we might share it in case someone else wants to do something similar.

    SNPsplit is an allele-specific alignment sorter which is designed to read in alignment files in SAM/BAM format and determine the allelic origin of reads that cover known SNP positions. For this to work a library must have been aligned to a genome which had all SNP positions masked by the ambiguity base 'N', and aligned using aligners that are capable of using a reference genome which contains ambiguous nucleobases, such as Bowtie 2 or TopHat. In addition, a list of all known SNP positions between the two different genomes must be provided using the option --snp_file.

    The SNP information to generate N-masked genomes needs to be acquired elsewhere, e.g. for different strains of mice you can find variant call files at the Mouse Genomes Project page at http://www.sanger.ac.uk/resources/mouse/genomes/. A description of how to generate N-masked genomes is beyond the scope of SNPsplit at the current time, but it might be added in the future.

    It is probably worth mentioning that the determination of overlaps correctly handles the CIGAR operations M (match), D (deletion in the read), I (insertion in the read) and N (skipped regions, used for splice mapping by TopHat). Other CIGAR operations are currently not supported.

    • Supports single-end and paired-end BAM/SAM alignment files
    • In paired-end mode, paired and singleton alignments may be merged or treated separately
    • Supports Hi-C BAM files generated by HiCUP
    • Individual output files for genome 1-specific, genome 2-specific and unassigned alignments
    • Output for conflicting alignments optionally

    Here you can access the documentation for more information on the SNPsplit workflow SNPsplit User Guide
    Here is an example paired-end SNPsplit report SNPsplit PE report
    Here is an example Hi-C report SNPsplit report SNPsplit Hi-C report

    SNPsplit is available for download from here: http://www.bioinformatics.babraham.a...ects/SNPsplit/. Comments welcome.
  • luc
    Senior Member
    • Dec 2010
    • 469

    #2
    Thanks for this tool! This looks very helpful.

    Comment

    • fkrueger
      Senior Member
      • Sep 2009
      • 627

      #3
      Added support for allele-specific sorting of Bisulfite-Seq files

      We have also posted a new version of SNPsplit (v0.2.0). It improves a few minor issues, but most notably it adds support for allele-specific sorting of Bisulfite-Seq reads that were aligned to an N-masked reference genome. Here are the changes in more detail:

      • Added support for allele-splitting for Bisulfite-Seq files with the new option '--bisulfite'. This assumes Bisulfite-Seq data processed with Bismark as input. In paired-end mode ('--paired'), Read 1 and Read 2 of a pair are expected to follow each other in consecutive lines. SNPsplit will run a quick check at the start of a run to see if the file provided appears to be a Bismark file, and set the flags '--bisulfite' and/or '--paired' automatically. In addition it will perform a quick check to see if a paired-end file appears to have been positionally sorted, and if not will set the flag '--no_sort'

      • Reads having the unmapped FLAG set in the BAM/SAM file (0x4 bit) are now skipped and excluded from the tagging and sorting process

      • Improved file renaming settings when input file was in SAM format (no longer deletes the input files..). Also changed renaming settings to only change .bam at the end of reads

      • The name of the SNP annotation file is now displayed on screen and written to the report files


      SNPsplit is freely available on the Babraham Bioinformatics website.

      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, 10-22-2026, 11:13 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      20 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...