Skip to content

Commit

Permalink
adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenheyne committed Jul 26, 2019
1 parent 50b4b4d commit 51e81f8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion trackHub_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
## script that parses a local directory structure and maps this to a UCSC trackDB.txt config
## https://github.com/steffenheyne/UCSC_trackHub_generator

## UCSC docu
## https://genome.ucsc.edu/goldenPath/help/trackDb/trackDbHub.html

import argparse
import os.path
import glob
Expand Down Expand Up @@ -93,13 +96,16 @@
"itemRgb": "on",
"color": "255,0,0",
"visibility": "squish",
"maxItems": "100000",
"maxWindowToDraw": "20000000"
#"colorByStrand": "255,0,0 0,0,255"
}

## specific bigwig configurations
## either for multiwig container or individual bigwig tracks
## keys are used as regex pattern against filename/ 'track' key in dict
## more specific patterns should come first in dict as we break loop after first match
## if matching, then the specifc track values are added or overwritten
bigwig_specific = {
"CD24.*H3K27ac": {
"viewLimits": "0:30"},
Expand Down Expand Up @@ -149,7 +155,7 @@


super_default = {"track": None,
"superTrack": "on show",
"superTrack": "on",
"parent": None,
"shortLabel": None,
"longLabel": None,
Expand Down

0 comments on commit 51e81f8

Please sign in to comment.