| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
cgb is a Python library for comparative genomics of transcriptional regulation in Bacteria. This repository contains the core library and the graphical interface code for the comparative genomics platform.
If using CGB in your research, please cite:
Kılıç, S., Sánchez-Osuna, M., Collado-Padilla, A., Barbé, J. and Erill, I. Flexible comparative genomics of prokaryotic transcriptional regulatory networks. BMC Genomics 21, 466 (2020). https://doi.org/10.1186/s12864-020-06838-x
Given binding site evidence from one or more reference organisms, and a set of target genomes of interest, cgb can be used to
cgb runs on Python 2.7 and depends on few packages listed in requirements.txt. All dependencies can be installed using pip:
pip install -r requirements.txtimport cgb
json_input_file = 'test_input.json' # See below for the format
cgb.go(json_input_file)cgb expects the input in JSON format. Below is a sample input file followed by descriptions for each field.
{
"TF": "LexA",
"motifs": [
{
"protein_accession": "NP_217236.2",
"sites": [
"AAATCGAACATGTGTTCGAGTA",
"GTCTCGAACATGTGTTCGAGAA",
"GTATCGAACAATTGTTCGATAT",
"GAATCAAACATGTGTTCGACAG",
"TATTCGAACATGTATTCGAGTA"
]
},
{
"protein_accession": "WP_003857389.1",
"sites": [
"TATGCGAACGTTTTTTCTAAAT",
"TGATCGCAATTGTGTGCTAAAA",
"TATTAAAACACTTGTTCTAAAC",
"TAGTCGAACATGTGAACGGTAT",
"AATACTGACAGAGGTTCGAATA",
"ATCTCGAACACTCGTACCATTT",
"ATTTCGAACAGTTGTGCGTGTA",
"TATTCGAAAACTTTTCCGATCA",
"TCCTCAAAAAAGTGGTCTAATG"
]
}
],
"genomes": [
{
"name": "ace",
"accession_numbers": ["NC_008578.1"]
},
{
"name": "cgl",
"accession_numbers": ["NC_003450.3"]
},
{
"name": "lxy",
"accession_numbers": ["NC_006087.1"]
}
],
"prior_regulation_probability": 0.03,
"phylogenetic_weighting": true,
"site_count_weighting": true,
"posterior_probability_threshold": 0.5
}Two mandatory input parameters are the list of reference motifs and target genomes.
Other input parameters are optional.
cgb saves all the output in the folder output created on the working directory.
| Back | FazBrowse Home | New Git URL |