Hi Dilini, I guess the easiest way is to begin with DNASP. With your FASTA file, use DNASP programme to define your sequences (here I mean either sampling localities or populations) and then export your haplotype data (arlequin format) containing only variable positions. Then you have to 'manually' prepare two infiles as follows: XXXX.hap (this is the one you generated with DNASP), and XXXX.nexus (this you could edit from previous files like the one I have attached). To skip details I have attached my previous files which you could easily use to create yours. I hope this is helpful!
Without detail its hard to help... I do have a Python script which writes the PopArt block to your Nexus file which may help. You can find it on my github: https://github.com/tkchafin/scripts, so assuming that your issue is with creating a proper input file, this may or may not be helpful.
Hi Dilini, I guess the easiest way is to begin with DNASP. With your FASTA file, use DNASP programme to define your sequences (here I mean either sampling localities or populations) and then export your haplotype data (arlequin format) containing only variable positions. Then you have to 'manually' prepare two infiles as follows: XXXX.hap (this is the one you generated with DNASP), and XXXX.nexus (this you could edit from previous files like the one I have attached). To skip details I have attached my previous files which you could easily use to create yours. I hope this is helpful!
Thomas Kalama Mkare , Hi regarding the PopArt are the traits only for the location. How about other traits for example like my sample source are catagorised as: cultivated, wild, weedy type.