From numerical simulations I output a file that is input to STRUCTURE (Hubisz et al. 2009). I now realize that I would need to process my data with FSTAT (Goudet 1995). Both are text files.

Is there an extant algorithm that would reformat a file that is input to STRUCTURE into a .fstat format?

  • $\begingroup$ What kind of files are these? If they are text files then reformatting would be easy; in that case this question would be off topic. $\endgroup$ – WYSIWYG Nov 26 '15 at 12:17
  • $\begingroup$ Yes these are .txt files. My question is very specific to data format used in bioinformatics though and I am not asking for help to build my own algorithm to reformat but am asking for extant algorithm that would do the job. Does it make my question off-topic? $\endgroup$ – Remi.b Nov 26 '15 at 19:31

PGDSpider will do the trick.

PGDSpider is able to parse 31 and to write 35 different file formats including STRUCTURE and .fstat.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.