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
print ('SECAPR NOTE:\nTrinity is currently only functional in the Linux distribution of SECAPR due to Java incompatibilities.\n')
217
+
#'However, the environment on MacOS machines can be easily altered by hand in order to properly run Trinity.\n',
218
+
#'This might however compromise the functionality of other parts of the SECAPR pipeline, therefore we recommend to undo the changes made in the envrionment after using Trinity by following the instructions below.\n\n',
219
+
#'In order to run the Trinity assembly on MacOS do the following:\n',
220
+
#'1. within the SECAPR conda envrionment type: "conda install openjdk=7"\n',
221
+
#'2. run the secapr assemble_reads function with Trinity (using the "--assembler trinity" flag)\n',
222
+
#'3. after assembly rebuild the SECAPR default environment by typing "conda install trimmomatic=0.33"\n'
223
+
sys.exit()
224
+
elifline.startswith('Trinity run failed.'):
225
+
print (''.join(file(filename)))
226
+
print ('SECAPR NOTE:\nTrinity is currently only functional in the Linux distribution of SECAPR.\n')
227
+
sys.exit()
228
+
229
+
print ("%s assembled. Trinity-stats are printed into %s"%(id_sample, os.path.join(output_folder, "%s_trinity_screen_out.txt"%id_sample)))
230
+
#except:
231
+
# print ("Trinity failed, maybe due to limited stack-size. Try increase stacksize with command 'zsh | ulimit -s unlimited | sh' and run again.")
0 commit comments