Skip to content

Commit

Permalink
fix some bugs in simulation readme
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyh09 committed May 29, 2018
1 parent 1b637f7 commit 09ce4bf
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions simulator/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,23 @@ dependencies of Spanki, which you could do it as follows
.. code-block:: bash
conda create --name brieSim python=2.7 numpy=1.13.0
source activate brieSim
conda activate brieSim
conda install -c bioconda cufflinks= 2.2.1
pip install pysam===0.14.1
conda install -c bioconda cufflinks=2.2.1
conda install -c bioconda samtools=1.2.0
conda install -c bioconda pysam=0.14.1
git clone https://github.com/huangyh09/Spanki.git
python Spanki/setup.py install
cd Spanki && python setup.py install && cd ..
git clone https://github.com/huangyh09/brie.git
python brie/setup.py install
cd brie && python setup.py install && cd ..
python Spanki/extra/spanki_anno.py -f GRCm38.p4.genome.fa
Then you will have dependencies and ``GRCm38.p4.genome.spanki.fa``.

**Also, we usually use the fastq file rather than the aligned bam file from Spanki.**


Examples
--------
Expand All @@ -137,9 +141,9 @@ In the BRIE paper, the simulation is performed as following command lines:

python simuDropout.py -a $anno_file -f $ref_file -d $dice_file -o $out_dir --dropoutProb $prob_file --dropoutRate $rate -N 600000 -m errorfree

- demo files with data can be found in the examples: simulate.sh_
- demo files with direct Spanki be found in the examples: spanki_demo.sh_

.. _spanki_anno.py: https://github.com/huangyh09/Spanki/blob/master/extra/spanki_anno.py
.. _Spanki: http://www.cbcb.umd.edu/software/spanki/
.. _logitnormal: https://en.wikipedia.org/wiki/Logit-normal_distribution
.. _simulate.sh: https://github.com/huangyh09/brie/tree/master/simulator/simulate.sh
.. _spanki_demo.sh: https://github.com/huangyh09/brie/tree/master/simulator/spanki_demo.sh

0 comments on commit 09ce4bf

Please sign in to comment.