Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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

  • #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


    • #3
      Hi Tirza,

      I commented lines that you suggested and it works.

      Many thanks,
      Jennifer

      Comment


      • #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


        • #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

          • 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 on Modified Bases...
            Yesterday, 07:01 AM
          • seqadmin
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          39 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          41 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          35 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          55 views
          0 likes
          Last Post seqadmin  
          Working...
          X