Answers.Body: <p>Its easy, </p>
  
  <ol>
  <li>Download the data from NCBI in fasta format (its an option in one of the pull down headers).</li>
  <li>Load it into the latest version of MEGA, version 7(?), perform the alignment therein.</li>
  <li>Export from MEGA as Nexus format and upload it into Beast</li>
  </ol>
  
  <p>You could of course perform the alignment in Clustalx, Clustalo or Muscle or T-Coffee, (hmmm I could write an alignment program just to name it T-4two (sorry British joke)). If the output option of "nexus" was not present in the alignment program of your choice, then again upload the alignment into MEGA and export it as nexus.</p>
  
  <p>Anyway, I could go into specific detail about the various points and clicks therein, but I think its easy to figure out. Most phylogeny programs will do an automatic fasta->nexus conversion, but anyway. </p>
  
  <p>Its easy, Beast is not trivial to use properly however and ensuring convergence is not at all easy, in addition the multiple simulation a priori models, whilst powerful, give different answers. To try and explain this a different way, it is easy to get an answer in Beast, but difficult to get a robust answer from it and thats the bit I would give serious consideration about. It does amaze how widespread the program is (I guess its the nice GUI), given how complicated it is to obtain robust result.</p>
  
  <hr>
  
  <p>Just to add you could try the online tool <a href="http://sequenceconversion.bugaco.com/converter/biology/sequences/fasta_to_nexus.php" rel="nofollow noreferrer">here</a> for the fasta to nexus conversion:  . I've not tried it, its just an after thought. If you do Python, Biopython will do it, but its just as easy to code.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-18T15:27:20.707Z
Answers.Text: Thanks ! I did using Mega and it works.
Answers.UserDisplayName: LoveVirology
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-18T07:09:28.480Z
Answers.LastActivityDate: 2019-07-18T07:48:11.553Z
Answers.LastEditDate: 2019-07-18T07:48:11.553Z
Answers.UserDisplayName: M__
Body: <p>I am learning to use BEAUTI and BEAST software. I followed their tutorial and was able to run example data without any problem. Now, I want to do phylodynamic analysis on my data. I have downloaded 70 picornavirus sequences from the gene bank. My questions are :</p>
  <ol>
  <li><p>What tool do I have to use to create Nexus file that is used by BEAUTI ?</p>
  </li>
  <li><p>How do I enter the information about the date (year ) the virus was isolated and location information which is required for rates and dates (evolutionary) analysis in BEAST, spatial analysis by SpreaD3 ?</p>
  </li>
  </ol>
  <hr />
  <p>Notes on <a href="https://rega.kuleuven.be/cev/ecv/software/SpreaD3_tutorial" rel="nofollow noreferrer">SpreaD3</a> is a update on SPREAD by Bielejec et al. SPREAD: Spatial Phylogenetic Reconstruction of Evolutionary Dynamics. Bioinformatics, 2011, 27:2910-2912. This uses spatial Bayesian reconstruction based on the phylogenetic output of Beast</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-17T11:48:17.807Z
Comments.Text: Did you ever find a method of solving this? I have the same issue and seems like the internet is silent on methods and/or too complicated for a beginner.
Comments.UserDisplayName: Natasha
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-07-18T15:28:12.300Z
Comments.Text: Use Mega X. Upload fasta files, do Muscle or ClustalW alignment and save output as Nexus.
Comments.UserDisplayName: LoveVirology
Tags: <phylogenetics><ngs><covid-19><virus>
Title: How to create a nexus file for BEAST?
ThreadText: # How to create a nexus file for BEAST?
  
  (Asked by: username_0 on 2018-05-26)
  
  I am learning to use BEAUTI and BEAST software. I followed their tutorial and was able to run example data without any problem. Now, I want to do phylodynamic analysis on my data. I have downloaded 70 picornavirus sequences from the gene bank. My questions are :
  
  1. What tool do I have to use to create Nexus file that is used by BEAUTI ?
  2. How do I enter the information about the date (year ) the virus was isolated and location information which is required for rates and dates (evolutionary) analysis in BEAST, spatial analysis by SpreaD3 ?
  
  ---
  
  Notes on [SpreaD3](https://rega.kuleuven.be/cev/ecv/software/SpreaD3_tutorial) is a update on SPREAD by Bielejec et al. SPREAD: Spatial Phylogenetic Reconstruction of Evolutionary Dynamics. Bioinformatics, 2011, 27:2910-2912. This uses spatial Bayesian reconstruction based on the phylogenetic output of Beast
  
  **Tags:** phylogenetics, ngs, covid-19, virus
  
  > **Comments:**
  > **username_1**: Did you ever find a method of solving this? I have the same issue and seems like the internet is silent on methods and/or too complicated for a beginner.  
  > **username_0**: Use Mega X. Upload fasta files, do Muscle or ClustalW alignment and save output as Nexus.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-07-18. Score: 1 | Accepted answer
  
  Its easy,
  
  1. Download the data from NCBI in fasta format (its an option in one of the pull down headers).
  2. Load it into the latest version of MEGA, version 7(?), perform the alignment therein.
  3. Export from MEGA as Nexus format and upload it into Beast
  
  You could of course perform the alignment in Clustalx, Clustalo or Muscle or T-Coffee, (hmmm I could write an alignment program just to name it T-4two (sorry British joke)). If the output option of "nexus" was not present in the alignment program of your choice, then again upload the alignment into MEGA and export it as nexus.
  
  Anyway, I could go into specific detail about the various points and clicks therein, but I think its easy to figure out. Most phylogeny programs will do an automatic fasta->nexus conversion, but anyway.
  
  Its easy, Beast is not trivial to use properly however and ensuring convergence is not at all easy, in addition the multiple simulation a priori models, whilst powerful, give different answers. To try and explain this a different way, it is easy to get an answer in Beast, but difficult to get a robust answer from it and thats the bit I would give serious consideration about. It does amaze how widespread the program is (I guess its the nice GUI), given how complicated it is to obtain robust result.
  
  ---
  
  Just to add you could try the online tool [here](http://sequenceconversion.bugaco.com/converter/biology/sequences/fasta_to_nexus.php) for the fasta to nexus conversion: . I've not tried it, its just an after thought. If you do Python, Biopython will do it, but its just as easy to code.
  
  > **Comments:**
  > **username_0**: Thanks ! I did using Mega and it works.  
  
  ---
  
  