csv file output in discoSNP
1
0
Entering edit mode
10.0 years ago

Hi,

I've just downloaded discoSNP and am running the example data files. I've trying to run the ./discoSNP_to_csv.py following the directions in the manual. Although I get no error when executing the script, I get no .csv file but instead the info shows in my terminal. Besides, I get full sequence as well, and not just the four lines indicated in the manual. Seems like there is something missing in the python script? Or am I missing something?

Thanks for your help.

Ana

discoSNP • 1.7k views
ADD COMMENT
1
Entering edit mode
10.0 years ago

Hi Ana,

Thanks for your interest in discoSnp.

About the discoSNP_to_csv.py output: This scripts does not write files. Instead, as you mentioned it, it writes outputs in the terminal.

You can thus redirect this output into the file you want to create:

python discoSnp_to_csv.py ../discoRes_k_31_c_4_coherent.fa > my_file_name.csv

About the formatting. You're absolutely right. The current script separates fields using spaces ' ' while it should better use comma ','.

I updated a new version of this script on the discoSnp homepage: http://colibread.inria.fr/software/discosnp/

Best,

Pierre

ADD COMMENT

Login before adding your answer.

Traffic: 1976 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6