The Convert File Type template, located in the Templates panel, lets you convert a file from one format to another; for instance, from DNA to protein sequence.
When you select this template, you will immediately be prompted to open the source file. Once you have done so, the New File Type wizard will ask you to specify the output file type.
Press Run to fill in the template based on your selections and perform the conversion immediately or Make to fill in the template without running.
If you select Make, you can review the information and make any necessary changes before pressing Run:
- To change the source sequence, use the Choose Sequence(s) button (see Add and modify a sequence).
- To change the output format, make a selection from the Format drop-down menu.
- To specify the name and location in which to save the output (see Specify output format and location) press the Save Results button and select a location.
Input is as shown in the image.
After running the script, file pBR322.gbk is converted into the file Sample.fasta.
Need more help with this?