Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • edm1
    Member
    • May 2013
    • 10

    #1

    What file format is this? [ChIP-seq]

    I have been given this file. I know it is genomic co-ordinates for mapped ChIP-seq reads. Is this a standard format?

    Example:
    Code:
    >966_1402_741_F3,7_136537485.3,10.34
    T21100132022021020202012023320103321
    >443_751_911_F3,15_56961061.0,23.06
    T12110010203330011001013300001122021
    >303_1613_1241_F3,5_-41776516.3,16.71
    T22002203232002213211201212003310221
    >1689_1617_959_F3,13_-112586547.1,20.20
    T13330100221021002022220102200022011
    ...
    I've figured out the easy bits:

    Code:
    >readName,chr_position.?,?
    ?
    But your thoughts on the rest would be of great help. Thanks.
  • edm1
    Member
    • May 2013
    • 10

    #2
    Ah, supposedly it is a colour space fasta with some extra info in the header. I have never used SOLiD data before.

    Is the colour code for converting to a nucleotide sequence always the same or does it vary? I am not in touch with the person who generated the data.

    [SOLVED] I found this tutorial at biostars explaining the transformation of colour space reads.
    Last edited by edm1; 01-08-2014, 08:28 AM. Reason: Added solution

    Comment

    • gringer
      David Eccles (gringer)
      • May 2011
      • 845

      #3
      Colour space is messy (to put it in a very favourable light). The best thing to do is to avoid changing to base space at all, and do all your alignment, etc. in colour space; that means converting your reference sequences to colour space and using a colour space-aware mapper/aligner.

      Here's my mini rant about color-space, a dimer encoding of nucleotides:

      A color-space sequence is an encoding of adjacent dimers such that unchanging bases are encoded with '0', complementary changes are encoded
      with '3', the colour '1' is used for a non-complementary base change on the same side of the alphabet (AC, CA, GT, or TG), and the colour
      '2' is used for a non-complementary base change on a different side of the alphabet (AG, GA, CT, or TC). A table of these changes can be
      found here:



      This has a few nice properties (e.g. the reverse-complement of a color-space sequence is the same as the reverse of the color-space
      sequence, a SNP will have two transitions), but many annoying and nasty properties. The first is that a color-space sequence in itself is
      meaningless without a base reference (usually the starting base).

      Here's an example color-space sequence:

      Code:
      2112322311010133121320003202203201302321 [40 chars]
      That color-space sequence can describe four different base-space sequences:

      Code:
      0: AGTGATCTACAACCATACTGCTTTTAGGAGGCTTGCCTAGT [41 chars]
      1: CTGTCGAGCACCAACGCAGTAGGGGCTTCTTAGGTAAGCTG
      2: GACAGCTCGTGGTTGCGTCATCCCCGAAGAATCCATTCGAC
      3: TCACTAGATGTTGGTATGACGAAAATCCTCCGAACGGATCA
      Note that these sequences are one character longer than their color-space equivalent, so by adding a starting base the sequence length does
      not change from the base-space representation.

      Code:
      A2112322311010133121320003202203201302321 [41 chars, decoded sequence 0]
      Here's another annoying property. It was pointed out before that the reverse complement of a color-space sequence is the reverse of the
      sequence. This is not entirely true if you include the starting base, because that base has now shifted to the end, and is its complementary
      partner:

      Code:
      rc(A2112322311010133121320003202203201302321)
      =1232031023022023000231213310101132232112<rc(A)> [easy]
      =1232031023022023000231213310101132232112T [easy]
      =A1232031023022023000231213310101132232112
      The last step is computationally hard, because it requires stepping through the sequence to work in reverse to find the first base.

      And for the last trick, errors are fairly common in color-space sequence reads:

      Code:
      A2112322311010133121320003202203201302321 [original]
      A2112322311010133121310003202203201302321 [error at position 21, before the 000]
      The base-space representation of these sequences:

      Code:
      AGTGATCTACAACCATACTGCTTTTAGGAGGCTTGCCTAGT [original]
      AGTGATCTACAACCATACTGCAAAATCCTCCGAACGGATCA [after a single error]
      This error has caused the base-space representation to switch from decoded sequence 0 above to decoded sequence 3 at position 22. A match of
      the base-space representation of this sequence would have 20 nucleotide differences, while there is only a single difference in color-space.
      The large differences between base-space representations are why color-space sequences should be assembled and/or mapped in color-space.
      Last edited by gringer; 01-08-2014, 12:11 PM.

      Comment

      • edm1
        Member
        • May 2013
        • 10

        #4
        Thanks for the info. It does seem strange. I've only been doing bioinformatics for 18 months or so and this is the first time I have seen a csfasta.

        I got around the problems by using bowtie (v1, not v2) and indexing my reference as colorspace. I'm back to the familiar sam/bam format now.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
          by SEQadmin2



          CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

          Despite this, “CRISPR helped turn genome editing from a specialized technique into
          ...
          07-31-2026, 11:01 AM
        • SEQadmin2
          Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
          by SEQadmin2


          Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

          The systematic characterization of the human proteome has
          ...
          07-20-2026, 11:48 AM
        • SEQadmin2
          Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
          by SEQadmin2



          Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
          ...
          07-09-2026, 11:10 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 08-06-2026, 07:41 AM
        0 responses
        13 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 08-03-2026, 10:13 AM
        0 responses
        30 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-31-2026, 02:55 AM
        0 responses
        40 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 07-24-2026, 12:17 PM
        0 responses
        26 views
        0 reactions
        Last Post SEQadmin2  
        Working...