Skip to content

Commit 5991847

Browse files
authored
Update README.md
1 parent f51f89b commit 5991847

File tree

1 file changed

+60
-3
lines changed

1 file changed

+60
-3
lines changed

README.md

Lines changed: 60 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# DCSsim
1+
# Simulate differential ChIP-seq regions
22

3-
DCSsim.py FASTA BED INT [options]
3+
DCSsim simulates differential ChIP-seq data for two samples (e.g. treatment and control). The results are sequence reads in fasta format for the two samples with n (user defined) replicates plus a report as pdf. DCSsim supports multiple threads and is able to work in batches to account for limited memory. We strongly encourage new users to start with the two parameter simulation scripts test-peak-shape.py and test-fragment-count-distribution.py. These can be applied to test the parameters for sampling without creating reads but output diverse histograms and plots.
44

5-
Based on the provided FASTA sequence differential peaks (DPs) are simulated, restricted to if --is_white_list or constrained by the specified BED-file. INT defines the number of simulated replicates of the two samples.
5+
6+
## DCSsim ##
7+
**DCSsim.py** \<FASTA\> \<BED\> \<INT\> [options]
8+
9+
Based on the provided \<FASTA\> sequence differential peaks (DPs) are simulated, restricted to if --is_white_list or constrained by the specified \<BED\>-file. \<INT\> defines the number of simulated replicates of the two samples.
610

711
Options:
812

@@ -94,3 +98,56 @@ Options:
9498

9599
--batch-size Number of domains/clusters calculated in one batch to limit memory usage, default=10000
96100

101+
## test-fragement-count-distribution ##
102+
**test-fragement-count-distribution.py** \<INT\> \<INT\> [options]
103+
104+
Creates a histogram of \<INT\> protein interactions sites of \<INT\> replicates for two samples, for all samples, for sample1 and sample2 and creates an MA-plot based on the supplied beta-values
105+
106+
Options:
107+
108+
--frag-count-sh Shape of gamma distribution for fragment counts, default=2.2
109+
110+
--frag-count-sc Scale of gamma distribution for fragment counts, default=20.1
111+
112+
--frag-count-op Probability for fragment counts being outliers, default=0.01
113+
114+
--frag-count-om Mean of lognormal distribution for fragment counts of outliers, default=6.0
115+
116+
--frag-count-os Sigma of lognormal distribution for fragment counts of outliers, default=0.5
117+
118+
--frag-count-scaling Scaling of fragment distribution, no scaling, scaling of beta result based on fragment counts (with exponential distribution) or scaling of fragment
119+
counts based on beta result (with Laplace distribution): none, frag, beta, default="none"
120+
121+
--frag-count-lp-scale Scale for Laplace distribution if frag-count-scaling is frag, default=0.1
122+
123+
--frag-count-ex-loc Loc for exponential distribution if frag-count-scaling is beta, default=10
124+
125+
--frag-count-ex-scale Scale for exponential distribution if frag-count-scaling is beta, default=100
126+
127+
--beta Alpha and Beta of Beta-distribution, default=[0.5, 0.5]
128+
129+
## test-peak-shape ##
130+
131+
**test-peak-shape.py** \<INT\> [options]
132+
133+
Creates histograms of \<INT\> fragment distances and peak shapes
134+
135+
Options:
136+
137+
--prot-size Protein size (this parameter limits the fragment shifts), default=150
138+
139+
--frag-len-mean Set mean of fragments' length, default=200
140+
141+
--frag-len-dev Set deviation of fragments' length, default=20
142+
143+
--frag-len-max Set maximum of fragments' length , default=1000
144+
145+
--frag-dist-on Use multivariate normal distribution for fragment shifts to create peak shapes, shifts are limited by prot-size. The final shift is: position of peak - prot_size + sampling from distribution, default=False
146+
147+
--frag-dist-prob Probability for each of the multivariate normal distributions to be chosen, default=[0.5, 0.5]
148+
149+
--frag-dist-muno-mean Means of multivariate normal distribution for the shifts of fragments, separator: ',' eg. "300, 1800", default=[20, 100]
150+
151+
--frag-dist-muno-cov Covariance of multivariate normal distribution for the shifts of fragments, separator: ',' and ';' eg. "1000,0;0,5000", default=[[100,0],[0,500]]
152+
153+

0 commit comments

Comments
 (0)