QA Python Tools: Difference between revisions

From Genecats
Jump to navigationJump to search
(Created page with "This page contains information about the different python modules and functions. The QA python scripts live in the following directory: <pre> ~/kent/python/lib/ucscGb/qa/</pre...")
 
No edit summary
Line 9: Line 9:
     """Returns labels of specified 'type' (shortLabel or longLabel) for a single track,
     """Returns labels of specified 'type' (shortLabel or longLabel) for a single track,
       its parent, and its superTrack. Excludes 'view' labels."""
       its parent, and its superTrack. Excludes 'view' labels."""
Depends on '''getAttributeForTrack''' within tables/trackUtils.py

Revision as of 23:40, 5 February 2019

This page contains information about the different python modules and functions. The QA python scripts live in the following directory:

~/kent/python/lib/ucscGb/qa/

tables/trackUtils.py

def getLabels(db, track, labelType):

   """Returns labels of specified 'type' (shortLabel or longLabel) for a single track,
      its parent, and its superTrack. Excludes 'view' labels."""

Depends on getAttributeForTrack within tables/trackUtils.py