Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Apollo324
    Junior Member
    • Jun 2008
    • 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
                    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
                  • SEQadmin2
                    Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                    by SEQadmin2



                    Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                    There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                    07-08-2026, 05:17 AM
                  • GATTACAT
                    Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                    by GATTACAT
                    Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                    07-01-2026, 11:43 AM

                  ad_right_rmr

                  Collapse

                  News

                  Collapse

                  Topics Statistics Last Post
                  Started by SEQadmin2, 07-13-2026, 10:26 AM
                  0 responses
                  28 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-09-2026, 10:04 AM
                  0 responses
                  37 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-08-2026, 10:08 AM
                  0 responses
                  25 views
                  0 reactions
                  Last Post SEQadmin2  
                  Started by SEQadmin2, 07-07-2026, 11:05 AM
                  0 responses
                  35 views
                  0 reactions
                  Last Post SEQadmin2  
                  Working...