ClustalW(file.name, file.path="", type="DNA", aln.filetype="CLUSTALW", args=NULL, out.name=NULL, job.name=NULL, print.curl=FALSE, shared.username=NULL, suppress.Warnings=FALSE)
CLUSTALW
, FASTA
, PHYLIP_INT
, NEXUS
, GCG
, GDE
, and PIR
Additional arguments, args
, can be found at http://www.clustal.org/download/clustalw_help.txt. The args input is text with the flags and inputs for those flags in a string like on the command line.
There are seven options for output files: CLUSTALW
http://meme.nbcr.net/meme/doc/clustalw-format.html, FASTA
http://www.bioperl.org/wiki/PHYLIP_multiple_alignment_format, PHYLIP_INT
http://www.bioperl.org/wiki/PHYLIP_multiple_alignment_format, NEXUS
http://en.wikipedia.org/wiki/Nexus_file, GCG
http://www.genomatix.de/online_help/help/sequence_formats.html#GCG, GDE
http://www.cse.unsw.edu.au/~binftools/birch/GDE/overview/GDE.file_formats.html, and PIR
http://www.bioinformatics.nl/tools/crab_pir.html.
The result file is ALWAYS `clustalw2.fa'.
SubmitJob, Validate, UploadFile
## Not run: data(DNA.fasta)
## Not run: write.fasta(sequences = DNA.fasta, names = names(DNA.fasta), file.out = "DNA.fasta")
## Not run: Validate("username","password")
## Not run: UploadFile("DNA.fasta", filetype="FASTA-0")
## Not run: ClustalW("DNA.fasta", job.name="ClustalWPHY", aln.filetype="PHYLIP_INT")
Run the code above in your browser using DataLab