Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • megnat
    Junior Member
    • Nov 2020
    • 2

    Stampy software error with PairSorter

    Hi all,
    I am trying to map reads (Paired End) from a sample to a reference assembly that is somewhat divergenct (~3%). So I used the bam file after bwa mapping and tried to run that through stampy again as follows:
    ${STAMPY} -t30 -g athCun1_ens -h athCun1_ens --bamkeepgoodreads --bwamark --substitutionrate=0.03 --output=JO1.adaptersmarked.aligned.merged.ensembl.stampy-div3.sam -M JO1.adaptersmarked.aligned.merged.ensembl.bam
    It created multiple bam and one sam file (I had listed sam as the output type, by extension). The output error file had an error in it (see below) but also the numbers of aligned reads (I think).
    stampy: (PairSorter) 'samtools sort -o -n -m200000000 - JO1.adaptersmarked.aligned.merged.ensembl.stampy-div3.samec7b5a5b-5bec-4c39-9ab4-ce6e1f320c23' returned messages on stderr:
    stampy: (PairSorter) (samtools ERROR) [bam_header_read] EOF marker is absent. The input is probably truncated.
    stampy: (PairSorter) 'samtools view -h -' returned messages on stderr:
    stampy: (PairSorter) (samtools ERROR) [bam_header_read] EOF marker is absent. The input is probably truncated.
    stampy: # Nucleotides (all/1/2): 52813084200 26406542100 26406542100
    stampy: # Variants: 3212191560 1458708466 1753483094
    stampy: # Fraction: 0.0608 0.0552 0.0664
    stampy: Done
    However, when I checked the output sam file with samtools flagstat, it showed almost the same number (and percentage) of reads getting mapped. However, the proportion of properly paired reads went down a bit.
    Would you know (a) what the error means and how to fix that? (b) Why I might be getting mapping where the proportion of paired reads decreases?
    Thank you in advance!

Latest Articles

Collapse

  • SEQadmin2
    Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
    by SEQadmin2



    Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
    ...
    07-09-2026, 11:10 AM
  • SEQadmin2
    Cancer Drug Resistance: The Lingering Barrier to Rising Survival
    by SEQadmin2



    Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

    There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
    07-08-2026, 05:17 AM
  • GATTACAT
    Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
    by GATTACAT
    Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
    07-01-2026, 11:43 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 07-13-2026, 10:26 AM
0 responses
28 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 07-09-2026, 10:04 AM
0 responses
37 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 07-08-2026, 10:08 AM
0 responses
25 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 07-07-2026, 11:05 AM
0 responses
35 views
0 reactions
Last Post SEQadmin2  
Working...