Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zhacker
    Member
    • May 2011
    • 12

    #1

    problem with novoalign RG option

    Hello everyone,

    I am trying to use novoalign for 108 illumina .fastq paired-end files (54 pairs) and for that I wrote a perl script that pairs up the files and runs novaalign on each pair. the perl line that generates the novoalign call is:


    $rgoption = '$\'@RG\tID:'.$file1.'\tPL:illumina\tPU:illumina\tLB:tumour\tSM:'.$temp.'\'';
    @system_args = ("novoalign", "-d", $REF, "-F", "STDFQ", "-f", $file1, $file2, "-r", "Random", "-K", $temp, "-o", "SAM", $rgoption, $temp1, ">" , $temp2);


    the actual call generated by running this line becomes:


    novoalign -d /scratch/data/reference_genomes/human/human_g1k_v37.fasta -F STDFQ -f 0099758_1_1sanger.fastq 0099758_1_2sanger.fastq -r Random -K 0099758_1_1sanger -o SAM $'@RG\tID:0099758_1_1sanger.fastq\tPL:illumina\tPU:illumina\tLB:tumour\tSM:0099758_1_1sanger' 0099758_1_1sanger.fastqnovo.stats > 0099758_1_1sanger.fastqnovo.raw.sam


    Giving me the following error:

    Problem processing command line arguments: Expecting @RG record with -o SAM option. at '$'@RG\tID:0099758_1_1sanger.fastq\tPL:illumina\tPU:illumina\tLB:tumour\tSM:0099758_1_1sanger''

    It's not liking my RG record...the problem is that if I don't include it in my command, it asks for it saying that required RG record for -o SAM

    Do you have any idea what I am doing wrong? I would highly appreciate your input. Thank you in advance.
  • zhacker
    Member
    • May 2011
    • 12

    #2
    I just noticed that I am missing > before my .stats file, it's still giving me the same error though......your help will save my brain from exploding, Thank YOu!!!!

    Comment

    • zee
      NGS specialist
      • Apr 2008
      • 249

      #3
      Hi Zhacker,

      I think you should place your SAM RG header in double quotes `""` rather than single quotes. i.e.

      Code:
      novoalign -d /scratch/data/reference_genomes/human/human_g1k_v37.fasta \
      -F STDFQ -f 0099758_1_1sanger.fastq 0099758_1_2sanger.fastq \
      -r Random -K 0099758_1_1sanger \
       -o SAM $"@RG\tID:0099758_1_1sanger.fastq\tPL:illumina\tPU:illumina\tLB:tumour\tSM:0099758_1_1sanger" 
      2> 0099758_1_1sanger.fastqnovo.stats > 0099758_1_1sanger.fastqnovo.raw.sam

      Comment

      • zhacker
        Member
        • May 2011
        • 12

        #4
        Thank you for the reply zee and sorry about not getting back earlier. After scratching my head for a while I discovered that the problem's not in the novoalign command itself but it's in my perl script. I am using perl's system() to call novoalign which shouldn't be done because system() can only be used when you're not returning anything - not the case for my command. Thank you very much!

        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-15-2026, 10:52 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        27 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-13-2026, 09:56 AM
        0 responses
        23 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-09-2026, 11:14 AM
        0 responses
        28 views
        0 reactions
        Last Post SEQadmin2  
        Working...