You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output from write(motifs, "jasper") is incorrect. The motif is jasper format appears correct in Python when called by print, but the output has brackets, for example:
ATGACTCATC AP-1(bZIP)/ThioMac-PU.1-ChIP-Seq(GSE21512)/Homer
A [ 0.42 0.28 0.28 0.03]
C [ 0.00 0.00 0.00 1.00]
G [ 0.01 0.00 0.96 0.02]
T [ 0.98 0.00 0.00 0.01]
Activity
DoaneAS commentedon Jul 27, 2015
A hacky fix:
motif_out = write(record, "jaspar")
chars_to_remove = ['''[''', ''']''']
subj = motif_out
motif_out_fixed = subj.translate(None, ''.join(chars_to_remove))
mdehoon commentedon Jul 31, 2015
@bassounds
How do you know?
DoaneAS commentedon Jul 31, 2015
I was incorrect earlier- in jaspar format the brackets are optional.
http://jaspar.genereg.net/html/TEMPLATES/help.html