I have a blast file produced. I executed a
blast(x) command outputting both
QRv313_NP342_d0_h2_l9 YN13213 QRv313_NP9080_d0_h1_l1 YN5345 QRv313_NP123_d0_h1_l7 YN756 QRv313_NP123_d0_h1_l113 YN9768 QRv313_NP654_d0_h2_l6 YN432 QRv313_NP8_d0_h1_l1 YN3242 QRv313_NP756_d0_h1_l2 YN85686
I have written a command in
command-line to obtain the following desired output:
NP342 YN13213 NP9080 YN5345 NP123 YN756 NP123 YN9768 NP654 YN432 NP8_d0 YN3242 NP756 YN85686
I have written a
nano script to provide me a tab delimited column of my query and subject id. I am just having trouble moving forward from here. I am unsure as to how I would modify my script to provide me with my desired output.
import sys file_object = open(sys.argv) for my_data in file_object: list = my_data.split("\t") print (list , list )
Is there a way t alter my command so I can receive the desired output?
Any suggestions would be kindly appreciated!