Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • kuldeep
    Junior Member
    • Mar 2019
    • 1

    HTSeq output file

    Hello , I ran a bam file and a sam file through HTSeq for the read counts.
    The following the output of the BAM file with no numeric value for the read counts:
    Code:
    krishna@dntdaretouchit:/mnt/e/cannon$ head countread.text XF:Z:__ambiguous[ENSMUSG00000098178.1+ENSMUSG00000106106.2] XF:Z:__ambiguous[ENSMUSG00000098178.1+ENSMUSG00000106106.2] XF:Z:__alignment_not_unique XF:Z:__alignment_not_unique XF:Z:__alignment_not_unique XF:Z:__alignment_not_unique XF:Z:__no_feature XF:Z:__no_feature XF:Z:__alignment_not_unique XF:Z:__alignment_not_unique
    And this is the output format from the SAM file:
    Code:
    chr1    3206084 255     1S139M  =       3206084 -139    NTACAGTTAACCAACTTATACAGTTAACCAACTCCTACACTAGGTTCCTGAGCATTTCCTTAAACTTGCTAGTTCTGGTTTCCTGGCATGTGAGAGTAAGTCACATGGTAGGAGGCTGCCTTTCTATCJJJFJJFJJJAJFJJJFJFFJFJJJJJJJJJJJJJJJJJJJJJJJFJJJJJJJJFJJJJJA<<JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJFJJJJJJJFFJJJJJFJFJJJJJJJJFJJJJJJJJJJJJJJAFAAA     NH:i:1  HI:i:1  AS:i:276        nM:i:0  XF:Z:ENSMUSG00000051951.5
    GWNJ-0965:181:GW180227920:7:2124:9881:65265     163     chr1    3206084 255     139M1S  =       3206084 139     TACAGTTAACCAACTTATACAGTTAACCAACTCCTACACTAGGTTCCTGAGCATTTCCTTAAACTTGCTAGTTCTGGTTTCCTGGCATGTGAGAGTAAGTCACATGGTAGGAGGCTGCCTTTCTATCATTCAATTTTAGN
    I am having hard time to interpret these file for the count numbers. The output from the BAM file looks absurd.
    Last edited by GenoMax; 03-25-2019, 08:16 AM.
  • luminasapientiae
    Junior Member
    • Sep 2017
    • 5

    #2
    I think we need more information.
    What is the design of your study? why HTSeq?
    I never worked with HTSeq before but i have experience with edgeR, DESeq2 and NOISeq, but i can be more useful if i have more information about your design.

    The counts can be extract in R with Rsamtools (look for index function) or in terminal by samtools idsxstats [bam] > [export_to_file]

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      Originally posted by kuldeep View Post
      And this is the output format from the SAM file:
      Code:
      chr1    3206084 255     1S139M  =       3206084 -139    NTACAGTTAACCAACTTATACAGTTAACCAACTCCTACACTAGGTTCCTGAGCATTTCCTTAAACTTGCTAGTTCTGGTTTCCTGGCATGTGAGAGTAAGTCACATGGTAGGAGGCTGCCTTTCTATCJJJFJJFJJJAJFJJJFJFFJFJJJJJJJJJJJJJJJJJJJJJJJFJJJJJJJJFJJJJJA<<JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJFJJJJJJJFFJJJJJFJFJJJJJJJJFJJJJJJJJJJJJJJAFAAA     NH:i:1  HI:i:1  AS:i:276        nM:i:0  XF:Z:ENSMUSG00000051951.5
      GWNJ-0965:181:GW180227920:7:2124:9881:65265     163     chr1    3206084 255     139M1S  =       3206084 139     TACAGTTAACCAACTTATACAGTTAACCAACTCCTACACTAGGTTCCTGAGCATTTCCTTAAACTTGCTAGTTCTGGTTTCCTGGCATGTGAGAGTAAGTCACATGGTAGGAGGCTGCCTTTCTATCATTCAATTTTAGN
      It looks like you copy/pasted partial lines in this example. Does your example really start with "chr 1". If so you may have a corrupt SAM file.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Nine Things a Sample Prep Scientist Thinks About Before Sequencing
        by SEQadmin2


        I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.


        Here are nine questions we think about, in roughly the order they matter, before...
        06-18-2026, 07:11 AM
      • SEQadmin2
        From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
        by SEQadmin2


        Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


        The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
        ...
        06-02-2026, 10:05 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 06-17-2026, 06:09 AM
      0 responses
      25 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-09-2026, 11:58 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      49 views
      0 reactions
      Last Post SEQadmin2  
      Working...