diff --git a/define_short_transcripts.py b/define_short_transcripts.py index 2c56d61428438e60479acc4a6a8617d4bffba883..b4e2a48929bd7c8b029f32101cb87dd870da4c3e 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():