# HG changeset patch # User jpayne # Date 1559938585 14400 # Node ID 77d3edd25de7c68bb6cf698598e93dbd0b55df32 # Parent 87c7eebc6797c2efa3aaea965d76aa43e92bc58d planemo upload diff -r 87c7eebc6797 -r 77d3edd25de7 SeqSero2/SeqSero2_package.py --- a/SeqSero2/SeqSero2_package.py Fri Jun 07 15:48:15 2019 -0400 +++ b/SeqSero2/SeqSero2_package.py Fri Jun 07 16:16:25 2019 -0400 @@ -1312,7 +1312,7 @@ predicted_serotype = "{}{}".format(predict_sero, star), note=claim.replace('\n','') ) - result['*'] = star_line + result['*'] = star_line.replace('\t', ' ') with open("Seqsero_result.tsv","w") as new_file: #new_file.write("Output_directory:"+make_dir+"\nInput files:\t"+input_file+"\n"+"O antigen prediction:\t"+O_choice+"\n"+"H1 antigen prediction(fliC):\t"+highest_fliC+"\n"+"H2 antigen prediction(fljB):\t"+highest_fljB+"\n"+"Predicted antigenic profile:\t"+predict_form+"\n"+"Predicted subspecies:\t"+subspecies+"\n"+"Predicted serotype(s):\t"+predict_sero+star+"\n"+star+star_line+claim+"\n")#+## #new_file.close() @@ -1370,7 +1370,7 @@ predicted_serotype = "{}{}".format(predict_sero, star), note=claim.replace('\n','') ) - result['*'] = star_line + result['*'] = star_line.replace('\t', ' ') with open("Seqsero_result.tsv","w") as new_file: #new_file.write("Output_directory:"+make_dir+"\nInput files:\t"+input_file+"\n"+"O antigen prediction:\t"+O_choice+"\n"+"H1 antigen prediction(fliC):\t"+highest_fliC+"\n"+"H2 antigen prediction(fljB):\t"+highest_fljB+"\n"+"Predicted antigenic profile:\t"+predict_form+"\n"+"Predicted subspecies:\t"+subspecies+"\n"+"Predicted serotype(s):\t"+predict_sero+star+"\n"+star+star_line+claim+"\n")#+## #new_file.close()