Skip to content

Commit 1850e61

Browse files
author
JLTrincado
committed
Added strand to output in create_paths/v2
1 parent 2eeae68 commit 1850e61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

create_paths.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def main():
215215
# Save all the combinations of the exons in a separate file
216216
outFile2 = open(output_path+".paths", 'w')
217217
for element in paths_list:
218-
header_id = ">Transcript_"+str(i)
218+
header_id = ">Transcript_"+str(i) + ":" + strand
219219
outFile2.write(header_id+": "+str(element) + "\n")
220220
full_seq = ""
221221
for x in element:

create_paths_v2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def main():
214214
# Save all the combinations of the exons in a separate file
215215
outFile2 = open(output_path+".paths", 'w')
216216
for element in paths_list:
217-
header_id = ">Transcript_"+str(i)
217+
header_id = ">Transcript_"+str(i) + ":" + strand
218218
outFile2.write(header_id+": "+str(element) + "\n")
219219
full_seq = ""
220220
for x in element:

0 commit comments

Comments
 (0)