Run windowCounts only on annotated regions?
1
0
Entering edit mode
endrebak85 ▴ 40
@endrebak85-10660
Last seen 5.3 years ago
github.com/endrebak/

I want to run windowCounts only on some annotated regions. Is this possible?

readParams has a discard-option, but not one for include...

Thanks. 

csaw • 1.1k views
ADD COMMENT
2
Entering edit mode
Aaron Lun ★ 28k
@alun
Last seen 4 hours ago
The city by the bay

No. The closest you can get is to run windowCounts on the whole genome (or selected chromosomes), and then to apply findOverlaps to select windows that overlap your regions of interest. Depending on what you want to use the counts for, it may be more appropriate to construct bin/window intervals yourself and to apply regionCounts, e.g., as described in A: Use csaw to build matrix for heatmap?.

ADD COMMENT
0
Entering edit mode

Thanks, csaw is wonderful.

ADD REPLY

Login before adding your answer.

Traffic: 455 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6