CGView is a circular genome viewer. You can give it features encoded in XML files, and it generates a display of those features along a circular genome fragment.
Basic Structure
CGView accepts three different file formats, but we'll focus on XML here. The basic structure is this:
- CG View settings
- Legend (optional)
- LegendItem (text that you want in a legend)
- FeatureSlot 1 (this is a circular track)
- Feature in FeatureSlot 1
- Feature in FeatureSlot 1
- FeatureSlot 2
- Feature in FeatureSlot 2
...
- Feature in FeatureSlot 2
- FeatureSlot N
- Feature in FeatureSlot N
...
- Feature in FeatureSlot N
- Legend (optional)
In XML, this has the basic form:
Helper Scripts
Expand | ||
---|---|---|
| ||
hello world |