Skip to content

Commit a82930f

Browse files
committed
Updated documentation for looking up parameter definitions and changing their values.
1 parent 0fe64ea commit a82930f

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

README.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ FAQ
216216

217217
To prepare input files for Dictys, please make sure each cell has a unique name across samples in the read count matrix and in the bam file. For read count matrices, you can append sample names to cell names before merging these matrices. For bam files, you can split each of them by cells using the script provided by Dictys in a separate folder for each sample, append sample names to the file names, and then move all the bam files into a single folder.
218218

219+
* **How do I change the parameters for some steps of Dictys?**
220+
221+
The default parameters for each step are listed in `config.mk <https://github.com/pinellolab/dictys/blob/master/src/dictys/scripts/makefiles/config.mk>`_. You can look up the definition of each parameter according to the instructions in config.mk and change them in place. You should change the parameters first before running the pipeline e.g. with ``dictys_helper network_inference.sh ...``. If in doubt, always start in a new folder.
222+
219223
* **How do I save figures from jupyter notebooks onto the disk?**
220224

221225
You can use ``plt.savefig('output.pdf')`` to save the current figure to disk. See `matplotlib.pyplot.savefig <https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.savefig.html#matplotlib.pyplot.savefig>`_.

src/dictys/scripts/makefiles/config.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ JOINT=1
2727
#######################################################################################
2828
# Parameters of individual steps shared by cell-type specific and dynamic GRN inference
2929
#######################################################################################
30+
# Required non-file parameters (PARAMS-...) and optional/keyword parameters (KPARAMS-...) for each step are defined here.
31+
# You can find the meaning of each parameter from the command line interface.
32+
# For example, `dictys preproc qc_reads -h` or `python3 -m dictys preproc qc_reads -h` will give the list of parameters in order.
3033

3134
PARAMS-PREPROC-QC_READS:=50 10 0 200 100 0
3235
PARAMS-CHROMATIN-MACS2:=$(GENOME_MACS2)

0 commit comments

Comments
 (0)