Comments (2)
Thanks for the bug report John!
I've noticed that pySAM has actually deprecated aend
, so I'll fix that as well so pyDNase doesn't suddenly stop working.
By default, pyDNase just takes all the reads provided to it in the BAM - letting the user decide whether badly mapped/secondary alignments should be utilised. I (stupidly) never handled the situation where unmapped reads may be present in the BAM, and likewise, because not a lot of people are doing paired end alignment for DNase-seq (at least, none of the public data is), I didn't handle ignoring non-primary paired alignments.
For the minimum, I've changed it to only process mapped reads (see 4aca97f) and I'll try to release this to master today, which should fix your issue.
For paired end reads, there's a lot of considerations. I'm thinking a command line flag to ignore secondary alignments or not, but I'll think about this a bit more before implementing something here -opinions and input welcome!
from pydnase.
Great thanks for the quick response! I can't say I have any opinions on the secondary alignments as I'm a bit new to this read mapping and still trying to get the hang of it. If I suddenly form some strong opinions I'll be sure to let you know!
from pydnase.
Related Issues (20)
- For ATAC-seq bias correction, is an naked DNA sequencing data necessary? HOT 2
- Python version issues(?) running wellington_footprints.py HOT 7
- Allow footprinting from bias-corrected data.
- error in wellington_footprints.py HOT 5
- wellington footprints never finishes HOT 2
- dnase_wig_tracks.py crushes - python3 HOT 2
- example_footprint_scores.py HOT 7
- Please tag 0.2.6 on github HOT 1
- Error in wellington_footprints.py when reading bed file HOT 4
- wellington_bootstrap.py finishes with empty files HOT 3
- Migrate docs
- wellington_footprints syntax error
- Support for unstranded bed lines
- Question about shifting alignment
- Empty bed file after running wellington_footprints.py HOT 2
- bol HOT 1
- Why the wellington score is negative when I ran wellington_footprint with ATAC-seq data?
- matplotlib version
- Question about dnase_bias_estimator.py
- Malformed BED line
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pydnase.