Script and Mantainance

Data processing script

Maintain and update CohesinDB

We will use two way to maintain (add, modify, delete) the contents included in CohesinDB.

Type 1: The Django admin interface.

We prepared a admin site to easily mantain all contents including:

The following shows a list of cohesin site objects in admin interface:

admin1

We can delete, add or modify each object for mantainance:

admin2

Type 2: Update contents via programmable pipeline.

We have prepared a end-to-end pipeline to update all contents in CohesinDB.

  1. Process raw sequencing data via the script above
  2. Generate related objects. Code are open-source in https://github.com/wangjk321/CohesinDB_public/tree/main/makeCohesinObject
  3. bash makeCohesinSite.sh
    bash makeCohesinLoop.sh
    bash makeCohesinCRM.sh
    bash makeCohesinProcessedfile.sh
  4. Update CohesinDB content via Django managemant function:
  5. #Update Objects for cohesin binding sites
    python manage.py importPeak
    
    #Update Objects for cohesin CRMs (genes)
    python manage.py importGene
    python manage.py importCRM
    
    #Update Objects for cohesin loops
    python manage.py importLoop
    
    #Update cell type information
    python manage.py importCell
    
    #Update Objects for processed file
    python manage.py importProcess