Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jeny
    Member
    • Mar 2010
    • 16

    #1

    Fastxtoolkit nucleotide distribution issue

    Hi all,
    I need some help on fastx-toolkit use.
    I would like to generate nucleotide distribution line graph but I don't manage.
    Below is command lines that I used :
    1-to obtain statistics report
    cat ../../sequences/phix/s_4_1_sequence.txt | fastx_quality_stats -o ../../sequences/phix/s_4_1_qual_stat.txt

    2-to create distribution graph
    fastx_nucleotide_distribution_graph.sh -i ../../../sequences/phix/s_4_1_qual_stat.txt -o ../../../sequences/phix/nuc_distri_s_4_1.png

    that worked.

    3-to create distribution line graph
    fastx_nucleotide_distribution_line_graph.sh -i ../../../sequences/phix/s_4_1_qual_stat.txt -o ../../../sequences/phix/nuc_distri_line_s_4_1.png

    It returned:
    Error: Input file is not a valid statistics report.
    This tool (fastq-quality-plot) requires a tabular text file conaining summary statistic about your FASTQ file.
    In Galaxy,
    Please use the "Compute Quality Statistics" tool (in the "NGS: QC and Manipulation" category) to compute the quality statistics report, and then use this tool with the new statistics report.
    On the command line,
    Please use the "fastx_quality_stats" program to create the statistics report.

    I thought both distribution scripts work similary and have only different output graphs. Maybe I am wrong.
    Why does it work in one case and not in the other with same statistics report file as input ?

    Thanks for help.
    Jennifer
  • tdoniger
    Member
    • Nov 2010
    • 13

    #2
    Fastxtoolkit nucleotide distribution issue

    Hi,

    I don't know if it is correct, but I just commented out the lines of the file check from the shell file and it works without any problem.

    Good luck!
    Tirza
    --
    Tirza Doniger, Ph.D.
    Bioinformatics Unit
    The Mina and Everard Faculty of Life Sciences
    Bar Ilan University

    Comment

    • jeny
      Member
      • Mar 2010
      • 16

      #3
      Hi Tirza,

      I commented lines that you suggested and it works.

      Many thanks,
      Jennifer

      Comment

      • rain bow
        Junior Member
        • May 2012
        • 2

        #4
        encountering the same problem

        Please help me too...as I am encountering the same problem while using fastq quality box plot.sh
        This tool (fastq-quality-plot) requires a tabular text file conaining summary statistic about your FASTQ file.

        Comment

        • alexsf
          Junior Member
          • Aug 2009
          • 4

          #5
          Hi,

          You don't have to comment it. In line 121 make this change:

          AWK_VALID_STAT='NR==1 && $1=="column" && $2=="count" && $3=="min" { exit 2 } NR>1 { exit}'

          The problem is that they put "cycle" instead of "column" which is the right header for the qual stats file.

          Cheers.

          Comment

          Latest Articles

          Collapse

          • kinpict.com
            Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by kinpict.com
            The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
            Today, 06:37 PM
          • SEQadmin2
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2





            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
            10-30-2026, 06:46 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          2 responses
          56 views
          0 reactions
          Last Post kinpict.com  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          175 views
          0 reactions
          Last Post SEQadmin2  
          Working...