How tobjores/plantgrep works
This repository supports a plant-genome enhancer research workflow: processing sequencing and barcode data, annotating enhancer candidates, analyzing experimental results, and building predictive models. Researchers can also use the published plantGREP model through a CLI or Colab notebook for sequence-based predictions and interpretation. The README describes the broad analysis workflow; sampled training code shows the model architecture and training relationship. Other analysis and annotation connections are represented only where documented, since their source was not sampled.
Main entry points: analyze_and_export.R Analysis and export · train_CNN_model.py CNN training · plantGREP.pt PlantGREP model · extract_barcode.sh Barcode extraction
Components 21
Experimental processing
- Barcode extraction
code/barcode_extraction/extract_barcode.sh - Subassembly filtering
code/subassembly - Count processing
code/analysis/process_barcode_counts.R
Genome annotation
- Enhancer annotation
code/annotation/main_annotation.sh - Annotation steps
code/annotation/subscripts
Analysis and interpretation
- Luciferase processing
code/analysis/process_dual-luciferase.R - Analysis and export
code/analysis/analyze_and_export.R - Model data export
code/analysis/export_modelling_data.R - Sequence validation
code/analysis/validation_sequences.R
Modeling and access
- CNN training
code/modelling/train_CNN_model.py - Ensemble training
code/modelling/train_CNN_ensemble.py - BiDen architecture
code/modelling/BiDen.py - Linear baselines
code/modelling/linear_models.py - DeepLIFT attributions
code/modelling/DeepLIFT_attributions.py - Motif discovery
code/modelling/TF-MoDISco.py - Sequence evolution
code/modelling/in-silico_evolution.py - plantGREP CLI
code/plantGREPcli/plantGREPcli.py - Colab interface
code/plantGREPcolab/plantGREPcolab.ipynb - PlantGREP model
data/CNN_model/plantGREP.pt
Other components
- Researcher
- Research results
Connections 22
- Researcher → Barcode extraction: processes reads
- Researcher → Enhancer annotation: runs annotation
- Researcher → Analysis and export: analyzes results
README.md - Researcher → plantGREP CLI: scores sequences
README.md - Researcher → Colab interface: uses notebook
README.md - Barcode extraction → Subassembly filtering: filters assemblies
- Enhancer annotation → Annotation steps: runs steps
- Count processing → Analysis and export: supports analysis
- Luciferase processing → Analysis and export: supports analysis
- Analysis and export → Model data export: exports model data
- Analysis and export → Research results: generates figure data
README.md - Model data export → CNN training: provides sequences
- CNN training → BiDen architecture: uses architecture
code/modelling/train_CNN_model.py - Ensemble training → BiDen architecture: uses architecture
code/modelling/train_CNN_ensemble.py - CNN training → PlantGREP model: exports model
- PlantGREP model → plantGREP CLI: scores sequences
- PlantGREP model → Colab interface: serves predictions
README.md - DeepLIFT attributions → Motif discovery: feeds attributions
code/modelling/TF-MoDISco.py - Researcher → Linear baselines: fits baselines
- Researcher → DeepLIFT attributions: interprets predictions
- Researcher → Sequence evolution: evolves sequences
- Researcher → Sequence validation: validates sequences