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

          • 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-22-2026, 11:13 AM
          0 responses
          25 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...