Skip to content
Snippets Groups Projects
Commit 537acfaf authored by Max Bär's avatar Max Bär
Browse files

Write output

parent 4ac6646b
No related branches found
No related tags found
3 merge requests!43Feature max,!42Write output,!41Write output to gtf
......@@ -60,7 +60,10 @@ class PostProcessRIBlast():
for index in self.interaction_df.index:
self.output = self.output + str(self.interaction_df[3][index]+'\t' + 'RIBlast' + '\t' + 'Priming_site' + '\t' + self.interaction_df[13][index] + '\t' + self.interaction_df[12][index] + '\t' + '.' + '\t' + '+' + '\t' + '.' + '\t' + f'Interaction_Energy "{self.interaction_df["Normalised_interaction_energy"][index]}"' + '\n')
return(self.output)
with open('output_transcripts_df.txt', 'w') as f:
f.write(self.output)
#print(PostProcessRIBlast().output)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment