Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Apollo324
    Junior Member
    • Jun 2008
    • 1

    #1

    Maq and export format

    Maq is now being distributed with a tool to convert export format files to standard fastq, and I'm wondering if anyone knows how it treats the reads which failed the Illumina pipeline quality threshold test.

    Thanks.
  • myrna
    Member
    • Feb 2008
    • 44

    #2
    export2std for chastity filtered reads

    This function is implemented in the script fq_all2std.pl. I had assumed it would use all reads but later found out that it only took the read (pairs) that passed chastity filtering (there is a Y/N flag in the export file that marks this). You can comment out the line in fq_all2std.pl if you want to include the reads that failed this check:

    #if ($t[21] eq 'Y') {
    formatting code....
    print "+\n$qual\n";
    #}


    Ryan

    Comment

    • myrna
      Member
      • Feb 2008
      • 44

      #3
      export2maq

      In a similar vein, I have been hoping to hear from the Maq community whether anyone has had any success running the export2maq function. This is meant to take an export file and reformat it into a .map file (forgoing the need to run maq map or maq assemble). I always get a segmentation fault when I try to use this function (have tried on various platforms). I have gotten no response from the maq-help mailing list, so I thought I would try here.

      Thanks,
      Ryan

      Comment

      • bioinfosm
        Senior Member
        • Jan 2008
        • 483

        #4
        <bump>

        I get the same segmentation fault. I had another query, do I need to feed in both the export files for the mate pair (I would expect so).. regardless its a seg fault either ways
        --
        bioinfosm

        Comment

        • myrna
          Member
          • Feb 2008
          • 44

          #5
          I'm glad to see that someone out there is seeing the same issue. I have isolated the problem and made a simple workaround. The converter is expecting certain fields in the export file to be filled, but our pipeline leaves them empty. I pass the exports through a perl script that puts dummy fields in those columns before passing them to export2maq. Note, I pass in both the forward and reverse export files (e.g. cat export_*.txt | add_dummy_values.pl | maq export2maq out.map in.list -)

          Comment

          • bioinfosm
            Senior Member
            • Jan 2008
            • 483

            #6
            Originally posted by myrna View Post
            I'm glad to see that someone out there is seeing the same issue. I have isolated the problem and made a simple workaround. The converter is expecting certain fields in the export file to be filled, but our pipeline leaves them empty. I pass the exports through a perl script that puts dummy fields in those columns before passing them to export2maq. Note, I pass in both the forward and reverse export files (e.g. cat export_*.txt | add_dummy_values.pl | maq export2maq out.map in.list -)
            Thanks Ryan.
            I had also figured of different formatting for my export output, because of the way my reference sequence for eland was formatted.

            Anyways, I guess you are doing downstream analysis to detect structural variants, could you share how you proceed?

            I wish to use the maq sv script, but am not getting across the usage..
            --
            bioinfosm

            Comment

            • lh3
              Senior Member
              • Feb 2008
              • 686

              #7
              To bioinfosm:

              The input should be something like:

              maq mapview -b aln.map | awk '$6!=18&&$9>=10&&$6!=64&&$6!=192&&$6!=130' > sv.inp

              You can add more filters in the awk command to control the reads passed through maq.pl sv

              Comment

              • bioinfosm
                Senior Member
                • Jan 2008
                • 483

                #8
                Originally posted by lh3 View Post
                To bioinfosm:

                The input should be something like:

                maq mapview -b aln.map | awk '$6!=18&&$9>=10&&$6!=64&&$6!=192&&$6!=130' > sv.inp

                You can add more filters in the awk command to control the reads passed through maq.pl sv
                Hi Heng,
                I get nothing when using the above filters. Starangly, my 9th column (Quality ?) is 0! Any suggestion as to what might be going wrong there?

                and btw, happy new year!
                --
                bioinfosm

                Comment

                • lh3
                  Senior Member
                  • Feb 2008
                  • 686

                  #9
                  The 9th column is the smaller single-end mapping quality of the two reads in a pair. It is actually the mapping quality of an abnormal pair. You can reconstruct this column anyway.

                  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

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 08-13-2026, 12:22 PM
                  0 responses
                  22 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 08-11-2026, 10:35 AM
                  0 responses
                  18 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 08-06-2026, 07:41 AM
                  0 responses
                  33 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 08-03-2026, 10:13 AM
                  0 responses
                  51 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...