Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • forevermark4
    Junior Member
    • Jan 2009
    • 6

    How to convert .txt file to .bed or .gff, How can we use chip seq data in R software

    Hi Everyone,

    Myself Yogesh kumar and I am new in illumina solexa work for chip seq analysis (cisgenome software).. I need only help to conert this dataset in format which supported by UCSC browser or cisgenome software..Other analysis part I can do.. I need your help I attached my datasets links





    About these datasets some information

    The “s_#” suffix stands for the lane number used in the flow cell.
    The “export” format is defined by multiple, tab separated, columns.
    For the definition of each column see below.


    EXPORT file definitions

    Export files are generated by the GERALD step* of the Illumina pipeline. The program called ELAND aligns each read from each lane to the reference genome (in our case the Mus Musculus genome, UCSC release MM8).
    When a match is found, then the relative position on the genome is reported on the “s_#_export.txt” file (only chromosome, start position and strand F or R).
    If no match is found a “NM” (no match) is reported.
    There is a line for each read, whether it aligns or not, and multiple lines for the same read if it aligns in multiple positions.
    You can either parse yourself these files (R-Bioconductor, Perl script …) or use public available software (eg CisGenome).
    The file contains information on the physical position of the reads in the flow cell, the nucleotide sequence of the read itself, a string of the quality call for each nucleotide in the read (a code developed by Illumina), various flags and the genomic position (if found).
    For many purposes not all these information are needed.

    *the illumina pipeline consists in several steps, starting from cluster recognition, passing through basecalling and ending with the alignment of the bases to the reference genome.
    Not all fields are relevant to a single-read analysis.
    1. Machine (Parsed from Run Folder name)
    2. Run Number (Parsed from Run Folder name)
    3. Lane
    4. Tile
    5. X Coordinate of cluster
    6. Y Coordinate of cluster
    7. Index string (Bland for a non-indexed run)
    8. Read number (1 or 2 for paired-read analysis, blank for a single-read analysis)
    9. Read
    10. Quality string—In symbolic ASCII format (ASCII character code = quality value + 64) by default (Set QUALITY_FORMAT --numeric in theGERALD config file for numeric values)
    11. Match chromosome—Name of chromosome match OR code indicating why no
    match resulted
    12. Match Contig—Gives the contig name if there is a match and the match
    chromosome is split into contigs (Blank if no match found)
    13. Match Position—Always with respect to forward strand, numbering starts at 1 (Blank if no match found)
    14. Match Strand—“F” for forward, “R” for reverse (Blank if no match found)
    15. Match Descriptor—Concise description of alignment (Blank if no match found)
    • A numeral denotes a run of matching bases
    • A letter denotes substitution of a nucleotide:
    For a 35 base read, “35” denotes an exact match and “32C2” denotes substitution
    of a “C” at the 33rd position
    16. Single-Read Alignment Score—Alignment score of a single-read match, or for a paired read, alignment score of a read if it were treated as a single read (Blank if no match found)
    17. Paired-Read Alignment Score—Alignment score of a paired read and its partner, taken as a pair (Blank for single-read analysis)
    18. Partner Chromosome—Name of the chromosome if the read is paired and its partner aligns to another chromosome (Blank for single-read analysis)
    19. Partner Contig—Not blank if read is paired and its partner aligns to another
    chromosome and that partner is split into contigs (Blank for single-read analysis)
    20. Partner Offset—If a partner of a paired read aligns to the same chromosome and contig, this number, added to the Match Position, gives the alignment position of the partner (Blank for single-read analysis)
    21. Partner Strand—To which strand did the partner of the paired read align? “F” for forward, “R” for reverse (Blank if no match found, blank for single-read analysis)
    22. Filtering—Did the read pass quality filtering? “Y” for yes, “N” for no

    Are you have any idea How can we convert these files to WIG, BED and GFF for the UCSC. Any one format is sufficient. for me . otherwise how can we convert .txt file to .BED file.. I am planning to use cisgenome (two sample analysis) software

    to look at data mapped on their genomic original contest.

    It 'll be great favour for me

    Thanks
    Yogesh Kumar
  • ECO
    --Site Admin--
    • Oct 2007
    • 1360

    #2
    Hi Yogesh,

    Your URL's are badly formed.

    Comment

    • forevermark4
      Junior Member
      • Jan 2009
      • 6

      #3
      Hi Everyone,

      Myself Yogesh kumar and I am new in illumina solexa work for chip seq analysis (cisgenome software).. I need only help to conert this dataset in format which supported by UCSC browser or cisgenome software..Other analysis part I can do.. I need your help I attached my datasets links







      About these datasets some information

      The “s_#” suffix stands for the lane number used in the flow cell.
      The “export” format is defined by multiple, tab separated, columns.
      For the definition of each column see below.


      EXPORT file definitions

      Export files are generated by the GERALD step* of the Illumina pipeline. The program called ELAND aligns each read from each lane to the reference genome (in our case the Mus Musculus genome, UCSC release MM8).
      When a match is found, then the relative position on the genome is reported on the “s_#_export.txt” file (only chromosome, start position and strand F or R).
      If no match is found a “NM” (no match) is reported.
      There is a line for each read, whether it aligns or not, and multiple lines for the same read if it aligns in multiple positions.
      You can either parse yourself these files (R-Bioconductor, Perl script …) or use public available software (eg CisGenome).
      The file contains information on the physical position of the reads in the flow cell, the nucleotide sequence of the read itself, a string of the quality call for each nucleotide in the read (a code developed by Illumina), various flags and the genomic position (if found).
      For many purposes not all these information are needed.

      *the illumina pipeline consists in several steps, starting from cluster recognition, passing through basecalling and ending with the alignment of the bases to the reference genome.
      Not all fields are relevant to a single-read analysis.
      1. Machine (Parsed from Run Folder name)
      2. Run Number (Parsed from Run Folder name)
      3. Lane
      4. Tile
      5. X Coordinate of cluster
      6. Y Coordinate of cluster
      7. Index string (Bland for a non-indexed run)
      8. Read number (1 or 2 for paired-read analysis, blank for a single-read analysis)
      9. Read
      10. Quality string—In symbolic ASCII format (ASCII character code = quality value + 64) by default (Set QUALITY_FORMAT --numeric in theGERALD config file for numeric values)
      11. Match chromosome—Name of chromosome match OR code indicating why no
      match resulted
      12. Match Contig—Gives the contig name if there is a match and the match
      chromosome is split into contigs (Blank if no match found)
      13. Match Position—Always with respect to forward strand, numbering starts at 1 (Blank if no match found)
      14. Match Strand—“F” for forward, “R” for reverse (Blank if no match found)
      15. Match Descriptor—Concise description of alignment (Blank if no match found)
      • A numeral denotes a run of matching bases
      • A letter denotes substitution of a nucleotide:
      For a 35 base read, “35” denotes an exact match and “32C2” denotes substitution
      of a “C” at the 33rd position
      16. Single-Read Alignment Score—Alignment score of a single-read match, or for a paired read, alignment score of a read if it were treated as a single read (Blank if no match found)
      17. Paired-Read Alignment Score—Alignment score of a paired read and its partner, taken as a pair (Blank for single-read analysis)
      18. Partner Chromosome—Name of the chromosome if the read is paired and its partner aligns to another chromosome (Blank for single-read analysis)
      19. Partner Contig—Not blank if read is paired and its partner aligns to another
      chromosome and that partner is split into contigs (Blank for single-read analysis)
      20. Partner Offset—If a partner of a paired read aligns to the same chromosome and contig, this number, added to the Match Position, gives the alignment position of the partner (Blank for single-read analysis)
      21. Partner Strand—To which strand did the partner of the paired read align? “F” for forward, “R” for reverse (Blank if no match found, blank for single-read analysis)
      22. Filtering—Did the read pass quality filtering? “Y” for yes, “N” for no

      Are you have any idea How can we convert these files to WIG, BED and GFF for the UCSC. Any one format is sufficient. for me . otherwise how can we convert .txt file to .BED file.. I am planning to use cisgenome (two sample analysis) software

      to look at data mapped on their genomic original contest.

      It 'll be great favour for me

      Thanks
      Yogesh Kumar

      Comment

      • ECO
        --Site Admin--
        • Oct 2007
        • 1360

        #4
        OK Yogesh, you don't need to repost the same message. Just click "edit" and fix the URLs.

        Comment

        • graveley
          Member
          • Jan 2009
          • 11

          #5
          Dear Yogesh,

          We do this by writing a perl script that reads in the alignment information and writes a new file in the appropriate format. I would send you what we use, but we do not use export.txt files. We are currently doing alignments with Bowtie and then converting the output to .gff and .wig files.

          Brent

          Comment

          • forevermark4
            Junior Member
            • Jan 2009
            • 6

            #6
            Hi Brent,

            Thanks.. If you dont mind can you send me that perl script .. So I can try here to txt fle and to convert in .gff or .wif format .. Perl script source code which you are using to convert .txt file to .gff or .wig format or alignment script because I already know perl script how to convert .fasta to .embl or other formats

            Comment

            • Agent47
              Junior Member
              • Jan 2009
              • 3

              #7
              Hi Brent,
              I am stuck in almost same position as Yogesh.
              I am using MAQ for the alignment of SOLEXA data but i am not able to convert it into .WIG and .GFF format, if you can provide me some directions for this it would be a great help
              Thanks!

              Arpit

              Comment

              • tabascoj
                Junior Member
                • Oct 2008
                • 1

                #8
                Bowtie to .wig

                Brent,
                I would really appreciate any perl suggestions for getting the Bowtie alignment into a WIG file (which I intend to use in Gbrowse). I have no problem with the perl conversion of tabulated documents (e.g. Bowtie-->GFF), but I need help getting a pileup and getting the values into the WIG file.

                Thanks very much.
                Joe

                Comment

                • apfejes
                  Senior Member
                  • Feb 2008
                  • 236

                  #9
                  I feel silly promoting my own software, but Maq to wig and eland to wig are both handled well by FindPeaks.



                  You may not need the ChIP-Seq features, but you can certainly just use it for a quick conversion. (There are converters in the package for creating bed files as well)

                  As for bowtie, you can always have it produce a .map file and then do the same conversion.

                  Good luck.
                  The more you know, the more you know you don't know. —Aristotle

                  Comment

                  • jperin
                    Member
                    • Feb 2009
                    • 10

                    #10
                    this may be the wrong place to ask, but I've just tried findPeaks for creating our wig files and it works great. The only problem is that the wig file appears to be offset to the very beginning of the chromosome. Our reference sequence is only a small piece of chromosome 10, in this case. It appears that at some stage in performing the maq alignment, a tag isn't set properly and causes the wig file to insert a label of "hg18_dna" instead of the "chr10", and then the start position for the first base pair in the first header starts at 1, instead of 17M something... where it 'should' be.

                    The fasta reference file has the correct tag in it, with the right reference, but at some stage this doesn't get passed to findPeaks and the offset is not correctly inserted. I can see the beautiful wig image in a browser, but it displays at the beginning of chr10. I had to manually change the hg18_dna to chr10 for the first to work, but changing the offset isn't as simple since the multiple headers each have their own offset position and it would be hard to calculate, also assuming there's probably a simple way to fix this??

                    Thanks for any advice.
                    Juan

                    Comment

                    • mudshark
                      Senior Member
                      • Jan 2009
                      • 138

                      #11
                      hi

                      i tested several published ChipSeq applications. therefore i would like to mention the spp package for R (http://compbio.med.harvard.edu/Supplements/ChIP-seq/) which was the only piece of software that directly produced kind of convincing output on 2 sample comparison data (i also tested PeakSeq, MACS, cisgenome).

                      Comment

                      • apfejes
                        Senior Member
                        • Feb 2008
                        • 236

                        #12
                        I'm adding several control modes to FindPeaks this week. I hope you'll revisit that list at some point (=

                        Anthony
                        The more you know, the more you know you don't know. —Aristotle

                        Comment

                        • mudshark
                          Senior Member
                          • Jan 2009
                          • 138

                          #13
                          hi Anthony,
                          afaik FindPeaks does not (yet?) support 2-sample analysis, i.e. IP vs. Input. is that correct?
                          T.

                          Comment

                          • apfejes
                            Senior Member
                            • Feb 2008
                            • 236

                            #14
                            That's correct - The code is currently in development, but should be ready shortly. (I hate saying that about software, but a lot of the code has already been written.)

                            Cheers,
                            Anthony
                            The more you know, the more you know you don't know. —Aristotle

                            Comment

                            • alperyilmaz
                              Member
                              • Feb 2009
                              • 10

                              #15
                              R package from BioConductor

                              There's another R package to be released, which will be available thru BioConductor. It's mentioned in a recent workshop. The workshop material can be viewed here.
                              Napoleon Bonaparte: "Money, money, money!", bioinformatician: "Format, format, format, ..."

                              Comment

                              Latest Articles

                              Collapse

                              • SEQadmin2
                                From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                                by SEQadmin2


                                Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                                The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                                ...
                                06-02-2026, 10:05 AM
                              • SEQadmin2
                                Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                                by SEQadmin2


                                With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                                Introduction

                                Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                                05-22-2026, 06:42 AM
                              • SEQadmin2
                                Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
                                by SEQadmin2

                                Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


                                Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
                                05-06-2026, 09:04 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 06-02-2026, 12:03 PM
                              0 responses
                              21 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-02-2026, 11:40 AM
                              0 responses
                              14 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 05-28-2026, 11:40 AM
                              0 responses
                              29 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 05-26-2026, 10:12 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...