From ab84236748feec85f1d96930ff5599554d7e07ec Mon Sep 17 00:00:00 2001
From: Venkat Malladi <Venkat.Malladi@utsouthwestern.edu>
Date: Fri, 28 Oct 2016 10:59:25 -0500
Subject: [PATCH] Add in names.

---
 define_short_transcripts.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/define_short_transcripts.py b/define_short_transcripts.py
index 2c56d61..b4e2a48 100755
--- a/define_short_transcripts.py
+++ b/define_short_transcripts.py
@@ -89,8 +89,11 @@ def tss_center(feature,assembly):
         stop = chromsizes[feature.chrom][1]
     feature.start = start
     feature.stop = stop
+    feature.name = feature[3]
+    feature.score = '0'
+    feature.strand = '.'
     return pybedtools.create_interval_from_list(
-            [feature.chrom, str(feature.start), str(feature.stop)])
+            [feature.chrom, str(feature.start), str(feature.stop), feature.name, feature.score, feature.strand ])
 
 
 def main():
-- 
GitLab