Mercurial > repos > rmarenco > hubarchivecreator
diff BedSimpleRepeats.py @ 11:d05236b15f81 draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 3760d0c8353b924ecf994131a5c2eb381aa81fb2
author | rmarenco |
---|---|
date | Wed, 27 Jul 2016 10:10:49 -0400 |
parents | acc233161f50 |
children | 25809f699cb3 |
line wrap: on
line diff
--- a/BedSimpleRepeats.py Thu Jul 21 05:58:51 2016 -0400 +++ b/BedSimpleRepeats.py Wed Jul 27 10:10:49 2016 -0400 @@ -34,21 +34,28 @@ autoSql=auto_sql_option) # Create the Track Object - dataURL = "tracks/%s" % trackName + self.createTrack(file_path=trackName, + track_name=trackName, + long_label=self.name_bed_simple_repeats, track_type='bigBed 4 +', visibility='dense', + priority=self.priority, + track_file=myBigBedFilePath) - trackDb = TrackDb( - trackName=trackName, - longLabel=self.name_bed_simple_repeats, - shortLabel=self.getShortName( self.name_bed_simple_repeats ), - trackDataURL=dataURL, - trackType='bigBed 4 +', - visibility='dense', - priority=self.priority, - ) + # dataURL = "tracks/%s" % trackName + # + # trackDb = TrackDb( + # trackName=trackName, + # longLabel=self.name_bed_simple_repeats, + # shortLabel=self.getShortName( self.name_bed_simple_repeats ), + # trackDataURL=dataURL, + # trackType='bigBed 4 +', + # visibility='dense', + # priority=self.priority, + # ) + # + # self.track = Track( + # trackFile=myBigBedFilePath, + # trackDb=trackDb, + # ) - self.track = Track( - trackFile=myBigBedFilePath, - trackDb=trackDb, - ) - - print("- %s created in %s" % (trackName, myBigBedFilePath)) + print("- Bed simple repeats %s created" % self.name_bed_simple_repeats) + #print("- %s created in %s" % (trackName, myBigBedFilePath))