Command line interface |
OverviewSince 1.7 version UGENE has become a powerful command line tool. In fact, you can run any workflow designer schema from command line. While working on UGENE's command line interface we were guided by the following principles:
Be sure that path to 'ugene' executable is added to your PATH environment variable. If your PATH is correct then typing 'ugene --help' in console will show the following: ![]() Using current version of UGENE you can do the following tasks by running a simple command:
Align sequences using MUSCLE3 Command: ugene align (or ugene --task=align) This command aligns input msa using MUSCLE3 tool and writes output in CLUSTALW format. Options: Example: ugene align --in=14-3-3.sto --out=14-3-3_aligned.aln On success you will see: ![]() Convert sequences from one format to another Command: ugene convert-seq This command converts sequences between formats Options:
genbank raw Example: ugene convert-seq --in=human_T1.fa --format=genbank --out=human_T1.gbk On success you will see: ![]() Convert multiple sequence alignments from one format to another Command: ugene convert-msa This command converts msa between formats Options:
stockholm msf srfasta Example: ugene convert-msa --in=CBS.sto --format=clustal --out=CBS.aln On success you will see: ![]() Find Open Reading Frames Command: ugene find-orfs This command finds Open Reading Frames in supplied sequence and writes results as annotations Options:
false
false
false Example: ugene find-orfs --in=human_T1.fa --out=human_orfs.gbk --require-init-codon=false On success you will see: ![]() Find repeats Command: ugene find-repeats This command find repeats in supplied sequence and writes results as annotations Options:
false Example: ugene find-repeats --in=murine.gb --out=murine_repeats.gbk --identity=99 On success you will see: ![]() Find pattern using Smith-Waterman algorithm Command: ugene find-sw This command find given pattern in supplied sequence and writes results as annotations Options:
blosum62 dna rna dayhoff gonnet pam250
none Example: ugene find-sw --in=human_T1.fa --out=human_T1_sw.gbk --ptrn=TGCT --filter=none
Command: ugene hmm2-build This command builds and\or calibrates HMM profile using HMMER2 tools Options:
false out - path to output file with HMM profile Example: ugene hmm2-build --in=CBS.sto --out=CBS.hmm --calibrate=true On success you will see: ![]() Search HMM signals using HMMER2 Command: ugene hmm2-search This command searches input sequence for significantly similar sequence matches to given profile HMM using HMMER2 tools Options: Example: ugene hmm2-search --seq=CBS_seq.fa --hmm=CBS.hmm --out=CBS_hmm.gbk --e-val=2 On success you will see: ![]() Query remote database Command: ugene remote-request This command searches sequence in remote database and writes result as annotations. Options:
"ncbi-cdd" for amino, "ncbi-blastp" for amino hits - maximum number of hits, that will be shown (default: 10) name - name of result annotations. If not set, name will be specified with the cdd result or the blast result short - this parametr determines wether or not to optimize search for short sequences (default: false)
false Example: ugene remote-request --in=seq.fa --db=ncbi-blastp --hits=100 --blast-output=blast.xml --out=res.gb This command searches sequence from seq.fa in BLASTP database, writes result annotations in res.gb and BLAST output file in blast.xml
Read Workflow designer documentation To add your own schema to command line interface you should do the following steps:
|