Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Filtering fastq file using prinseq, output problem

    Sir,
    I wanted to use prinseq to filter my fastq files. After running this command it seemed everything going perfect but when loading completed 100% there was output. What I am missing??
    [zillur@workstation01 Strain_GI]$ perl /home/zillur/Desktop/zillur/Tools/prinseq-lite-0.20.4/prinseq-lite.pl -verbose -fastq SRR901607_1.fastq -fastq2 SRR901607_2.fastq -min_qual_score 36 -ns_max_n 0 -noniupac -derep 124 -out_good GI_qual_fltr -out_bad null


    This gave me the following output but no filtered fastq files.

    [zillur@workstation01 Strain_GI]$ perl /home/zillur/Desktop/zillur/Tools/prinseq-lite-0.20.4/prinseq-lite.pl -verbose -fastq SRR901607_1.fastq -fastq2 SRR901607_2.fastq -min_qual_score 36 -ns_max_n 0 -noniupac -derep 124 -out_good GI_qual_fltr -out_bad null
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    Estimate size of input data for status report (this might take a while for large files)
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    done
    Parse and process input data
    status: 0 %perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    done
    Clean up empty files
    Use of uninitialized value $fhmappings in unlink at /home/zillur/Desktop/zillur/Tools/prinseq-lite-0.20.4/prinseq-lite.pl line 1833.
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_CTYPE = "UTF-8",
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    done
    Input and filter stats:
    Input sequences (file 1): 26,419,950
    Input bases (file 1): 2,668,414,950
    Input mean length (file 1): 101.00
    Input sequences (file 2): 26,419,950
    Input bases (file 2): 2,668,414,950
    Input mean length (file 2): 101.00
    Good sequences (pairs): 0
    Good sequences (singletons file 1): 0 (0.00%)
    Good sequences (singletons file 2): 0 (0.00%)
    Bad sequences (file 1): 26,419,950 (100.00%)
    Bad bases (file 1): 2,668,414,950
    Bad mean length (file 1): 101.00
    Bad sequences (file 2): 0 (0.00%)
    Sequences filtered by specified parameters:
    min_qual_score: 52839900
    [zillur@workstation01 Strain_GI]$ ls
    SRR901607_1.fastq SRR901607_2.fastq

  • #2
    I imagine the minimum quality score setting is causing at least part of the problem. Try a more reasonable setting, like 5.

    Comment


    • #3
      Thank you very much for your kind suggestions. It seemed fine. After filtering I was trying to map the filtered fastq files using bowtie2. Mapping seems good, but when I was trying to generate variant calls in vcc format, smalls is giving me the following error message. What should I do now.

      [zillur@workstation01 Strain_NaN_Hs_2011]$ nohup samtools mpileup -uf /home/zillur/Desktop/zillur/phd/Apecomplexan/B_microti/Reference/B_microti.fasta Nan_qual_trm.sorted.bam | bcftools view -O u- > Nan_qual_trm.bcf
      nohup: ignoring input and redirecting stderr to stdout
      Failed to open -: unknown file type
      [zillur@workstation01 Strain_NaN_Hs_2011]$

      ** which file is unknown? The sorted bam?

      Comment


      • #4
        It's complaining about the pipe. Note that nohup mentions that it's redirecting stderr to stdout, which could seriously break things. Just don't use nohup and that alone may fix things.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          Recent Advances in Sequencing Analysis Tools
          by seqadmin


          The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
          05-06-2024, 07:48 AM
        • seqadmin
          Essential Discoveries and Tools in Epitranscriptomics
          by seqadmin




          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
          04-22-2024, 07:01 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, Today, 07:03 AM
        0 responses
        11 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-10-2024, 06:35 AM
        0 responses
        32 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-09-2024, 02:46 PM
        0 responses
        41 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 05-07-2024, 06:57 AM
        0 responses
        35 views
        0 likes
        Last Post seqadmin  
        Working...
        X