Implementation description We collected 7 eccDNA datasets and designed a pipeline to simulate eccDNA data generated by eccDNA-enriched experimental methods.
- Requirements
- Installation
- Tutorial
- Notebook
- 1. Notebook for Simulated Generation and Statistics Comparation
- 2. Notebook for Short-Read Pipeline Evalation
- 3. Notebook for Long-Read Pipeline Evalation
- 4. Notebook for Computational Resources Evaluation
- 5. Notebook for 0-2kb, 2-10kb, >10kb and ecDNA Comparation
- 6. Notebook for Coding Gene - ecDNA Correlation
- 7. Notebook for Highly-Correlate eccDNA Comparison
- 8. Notebook for Oncogene Comparison
- 9. Notebook for RepeatMask Comparison
- Fix a bug in class
seqsimthat can not simulate data with only simple or chimeric eccDNA template. - Package the pipeline using setuptools
- Upload ecsim for simulated eccDNA datasets
Note2: To run ecsim, please ensure that pysam, art, seqkit, pandas, numpy, and pbsim2 have already been installed.
It would take several minutes to create the environment.
git clone https://github.com/QuKunLab/eccDNABenchmarking.git
cd eccDNABenchmarking/ecsim
conda env create -f environment.yaml
or
conda create -n ecsim -c bioconda pysam=0.21.0 pbsim2=2.0.1 art=3.19.15 seqkit=2.6.1 python=3.9 pandas=2.0.2 numpy=1.25.0
It would take several seconds to install ecsim.
conda activate ecsim
cd eccDNABenchmarking/ecsim
pip install .
It would take hours to generate simulated dataset with 10000 circular and 10000 linear DNA, with a 5000bp extention of RCA and a sequencing depth of 50.
ecsim --sample SAMPLE_NAME (required) \
--reference REFERENCE_PATH (required) \
--thread THREAD_NUMBER (required) \
--path DATA_PATH (required) \
--simple-template SIMPLE_TEMPLATE_BEDFILE (Alternative) \
--chimeric-template CHIMERIC_TEMPLATE_BEDFILE (Alternative) \
--simple-ratio SIMPLE_DNA_RATIO (default is calculated from profile) \
--meancov SEQUENCING_DEPTH (default=25) \
--circular-number CIRCULAR_DNA_NUMBER (default=10000) \
--linear-number LINEAR_DNA_NUMBER (default=10000) \
--amp AMPLIFIED_LENGTH (default=5000) \
--seed RANDOM_SEED (default=None) \
--ont-model PBSIM2_MODEL_NAME (default='R94') \
--ont-mean ONT_READ_LENGTH_MEAN (default=3000) \
--ont-std ONT_READ_LENGTH_STD (default=2500) \
--sr-platform ILLUMINA_PLATFORM (default='HS25') \
--sr-mean ILLUMINA_INSERT_LENGTH_MEAN (default=400) \
--sr-std ILLUMINA_INSERT_LENGTH_STD (default=125) \
--sr-readlen ILLUMINA_READ_LENGTH (default=150)
The template bed files (data used in this project) are stored in resource directory. If you not specify template files, default simple_template is template.simple.bed and default chimeric_template is template.chimeric.bed.
Expected Output: ecsim will generate files contaning simulated eccDNA information in bed and FASTA format, and Simulated Illumina and Oxford Nanopore sequencing data in FASTQ fomat.
