Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • htseq-count failure parsing GFF attribute line

    Hi,
    I am trying to generate a read counts file for my ChIP-seq data using htseq-count. Here is what I have done so far:

    1. Call ChIP-seq peaks and output BED file in MACS2
    2. Convert BED to GFF in Galaxy
    2. Run htseq-count with the following command and error:

    Code:
    -bash-4.1$ htseq-count -f bam -s no -t feature M1-cbx5_sorted.bam Rep1_cbx5_merge.gff
    Error occured when processing GFF file (line 1 of file Rep1_cbx5_merge.gff):
      Failure parsing GFF attribute line
      [Exception type: ValueError, raised in __init__.py:164]
    I suspect that there is something wrong with my GFF input, but I am not sure what.

    Here is what my GFF file looks like:
    Code:
    -bash-4.1$ head Rep1_cbx5_merge_edit.gff
    chr1	bed2gff	feature	823401	825999	0	+	.	group1;
    chr1	bed2gff	feature	927001	928999	0	+	.	group2;
    chr1	bed2gff	feature	1048201	1050799	0	+	.	group3;
    chr1	bed2gff	feature	1264401	1266799	0	+	.	group4;
    chr1	bed2gff	feature	2008801	2011399	0	+	.	group5;
    chr1	bed2gff	feature	2185201	2188399	0	+	.	group6;
    chr1	bed2gff	feature	2577201	2578999	0	+	.	group7;
    chr1	bed2gff	feature	2786201	2789199	0	+	.	group8;
    chr1	bed2gff	feature	2923401	2926199	0	+	.	group9;
    chr1	bed2gff	feature	3256401	3264399	0	+	.	group10;
    Thanks for helping me out!

  • #2
    Please have a look at the GFF format description (e.g. here). You need to rephrase the last column to ID=group1; ID=group2; ...

    Cheers,
    Michael

    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