Comments (6)
Hi @doncarlos999 ,
Thanks for your feedback. It seems to be a bug in code. And we just update the source code for this program.
Can you update the source code from https://github.com/guoweilong/cgmaptools/blob/master/src/CGmapMethInBins.py
for your local version, and see if the output is improved to right version?
We'll formally release the updated version if it runs well on your data set. And looking forward for your feedback.
Best,
Weilong
from cgmaptools.
Hi @guoweilong ,
Thanks so much for helping with this and for your quick response.
The updated source code has fixed the truncation problem but all but the last line are na.
➜ 25bp_bdg 19-04-29 10:02 wc -l 25bin.tsv
10564 25bin.tsv
➜ 25bp_bdg 19-04-29 10:02 grep na 25bin.tsv | wc -l
10563
➜ 25bp_bdg 19-04-29 10:02 tail -n 4 25bin.tsv
chr1 264001 264025 na
chr1 264026 264050 na
chr1 264051 264075 na
chr1 264076 264100 0.0473
➜ 25bp_bdg 19-04-29 10:01 wc -l 25CGbin.tsv
10560 25CGbin.tsv
➜ 25bp_bdg 19-04-29 10:01 grep na 25CGbin.tsv | wc -l
10559
➜ 25bp_bdg 19-04-29 10:01 tail -n 4 25CGbin.tsv
chr1 263901 263925 na
chr1 263926 263950 na
chr1 263951 263975 na
chr1 263976 264000 0.3076
from cgmaptools.
Hi @doncarlos999 ,
This function will scan from 1st base to the last base.
Thus, some region without enough coverage, will output "NA".
From my side, all the last lines are NOT "NA". So is this what you mean?
Best,
Weilong
from cgmaptools.
Did you try to run it on the file I attached in my first post?
If so can you attach the results with the same command that I am running?
cgmaptools mbin -i head_chr1.CGmap.txt -c 1 -B 25 -C CG > 25CGbin.tsv
I set the coverage to minimum 1 base. You can see in this file that there are many bases with more than 1 coverage but they are not being picked up in the scan.
Thanks
Carl
from cgmaptools.
Hi Carl,
I just modified the code again, and commit the changes to github. Could you see if the new code works well for your data?
Looking forward to your feedback!
Best,
Weilong
from cgmaptools.
Hi @guoweilong
This has solved the issue. It now outputs the correct bins.
Thanks a lot for the assistance
from cgmaptools.
Related Issues (20)
- Issue of using SNV calling tool HOT 3
- Wrong with bam2cgmap zlib HOT 5
- Problem with SNV calling using bayesian approach HOT 2
- cgmaptools convert bismark2cgmap
- cgmaptools mbin HOT 4
- cgmapstat HOT 4
- mergelist tomatrix index
- Make dependencies and data requirements explicit
- cgmaptools mmbin ERROR.
- bam2cgmap Error HOT 5
- cgmap2wig HOT 1
- CGmapFromBAM not found HOT 2
- no output when using cgmaptools mfg HOT 1
- CGmapTools-SNV calling for triploid organism HOT 1
- bam2cgmap error HOT 15
- question about fragreg HOT 1
- bam2cgmap has been running Processing reads from chrM HOT 2
- ASM calling Error for ass and asr Allele Specific methylation analysis. HOT 4
- error with mtr HOT 2
- Question: SNV calling in low tumor content setting HOT 2
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 cgmaptools.