Skip to content
Snippets Groups Projects
start_chapter.sgml 6 KiB
Newer Older
tjc's avatar
tjc committed
<CHAPTER ID="START">
  <TITLE>Starting &prog;</TITLE>

  <SECT1 ID="RUNNINGUNIX"> 
    <TITLE>Running &prog; on UNIX and GNU/Linux Systems</TITLE>
    <PARA>
On Unix and GNU/Linux the easiest way to run the program is to run the script
called <COMMAND>art</COMMAND> in the &prog; installation directory (see <XREF
Tim Carver's avatar
Tim Carver committed
LINKEND="INSTALLATION">), like this:
tjc's avatar
tjc committed
    </PARA>

    <PARA>
      <COMMAND>artemis/art</COMMAND>
    </PARA>

    <PARA>
Tim Carver's avatar
Tim Carver committed
If all goes well you will be presented with a small window with three
tjc's avatar
tjc committed
menus.  See <XREF LINKEND="LAUNCH-WINDOW"> to find out what to do next.
    </PARA>

    <PARA>
Alternatively you start &prog; with the name of a sequence file or embl file
eg:
    </PARA>

    <PARA>
      <COMMAND>artemis/art artemis/etc/c1215.embl</COMMAND>
    </PARA>

    <PARA>
Or if you have a sequence file and extra feature table files you can read
them all with a command like this (the example file c1215.blastn.tab is the
result of a BLASTN search against EMBL which has been converted to feature
table format):
    </PARA>

    <PARA>
      <COMMAND>
artemis/art artemis/etc/c1215.embl + artemis/etc/c1215.blastn.tab
      </COMMAND> 
    </PARA>
    <PARA>
Note that any number of feature files can be read by listing them after the
plus sign.  The "+" must be surrounded by spaces.
    </PARA>

    <PARA>
Tim Carver's avatar
Tim Carver committed
See <XREF LINKEND="UNIXARGS"> for a list of the other possible arguments. Also
to see a summary of the options type:
tjc's avatar
tjc committed
    </PARA>

Tim Carver's avatar
Tim Carver committed
   <PARA>
      <COMMAND>artemis/art -help</COMMAND>
   </PARA>

tjc's avatar
tjc committed
    <PARA>
Here is an alternative way to run &prog; if the <COMMAND>art</COMMAND> script
doesn't work for you:
    </PARA>

    <PARA>
      <COMMAND>
cd ~/artemis
      </COMMAND>
    </PARA>

    <PARA>
      <COMMAND>
tcarver's avatar
tcarver committed
java -classpath lib/biojava.jar:lib/jemAlign.jar:lib/j2ssh/j2ssh-core.jar:lib/ibatis/ibatis-2.3.4.726.jar:lib/ibatis/log4j-1.2.14.jar:lib/chado-14-interface.jar:lib/postgresql-8.4-701.jdbc3.jar:lib/picard.jar:lib/picard/sam.jar:lib/batik/batik-awt-util.jar:lib/batik/batik-codec.jar:lib/batik/batik-dom.jar:lib/batik/batik-ext.jar:lib/batik/batik-svggen.jar:lib/batik/batik-util.jar:lib/batik/batik-xml.jar:. -Dartemis.environment=UNIX uk.ac.sanger.artemis.components.ArtemisMain
tjc's avatar
tjc committed
      </COMMAND>
    </PARA>
  </SECT1>

&unixargs;

  <SECT1 ID="RUNNINGMAC">
    <TITLE>Running &prog; on Macintosh Systems</TITLE>
    <PARA>
tjc's avatar
tjc committed
On MacOSX machines &prog; can be started by double clicking on the Artemis
tjc's avatar
tjc committed
icon. The icon can be added to the dock by dragging it from a 'Finder' window
tjc's avatar
tjc committed
and dropping it onto the position in the dock you want it. In addition
sequence files (with gff, embl, EMBL, genbank, gbk, fasta, seq, art file name
extensions) can be dragged and dropped on to the Artemis application image to 
open them up.
tjc's avatar
tjc committed
    </PARA>
tjc's avatar
tjc committed
    <PARA>
To change the memory allocated to &prog; on MacOSX, set the value in the file Info.plist 
in the directory Artemis.app/Contents. Towards the bottom of the file there are a couple of 
lines that look like this:
<SYNOPSIS>
 &lt;key&gt;VMOptions&lt;/key&gt;
 &lt;string&gt;-Xmx800m&lt;/string&gt;
</SYNOPSIS>
 Changing the value after -Xmx will change the memory used by &prog;. 
    </PARA>
tjc's avatar
tjc committed
  </SECT1>

  <SECT1 ID="RUNNINGPC">
    <TITLE>Running &prog; on Windows Systems</TITLE>
    <PARA>
tcarver's avatar
tcarver committed
On systems with Java 1.6 (or above) installed &prog; can be
tjc's avatar
tjc committed
started by double clicking on the artemis.jar icon.
    </PARA>
  </SECT1>

  <SECT1 ID="LAUNCH-WINDOW">
    <TITLE>The &prog; Launch Window</TITLE>
    <PARA>
This is the first window that opens when you start &prog;.  The menus at the
top of this window allow you to read a new sequence or embl entry.
    </PARA>
    <SECT2 ID="LAUNCH-WINDOW-FILE-MENU">
      <TITLE>The File Menu</TITLE>
tjc's avatar
tjc committed

Tim Carver's avatar
Tim Carver committed
      <SECT3 ID="LAUNCH-WINDOW-PROJMANAGER">
        <TITLE>Open Project Manager ...</TITLE>
        <PARA>
This opens up the Project File Manager which can be used to facilitate launching
of groups of files (annotation, userplot, BAM, VCF) with a particular sequence.
See <XREF LINKEND="PROJ-MANAGER-CHAPTER">.
        </PARA>
      </SECT3>

tjc's avatar
tjc committed
      <SECT3 ID="LAUNCH-WINDOW-FILEMANAGER">
        <TITLE>Open File Manager ...</TITLE>
        <PARA>
Selecting this shows the files and directories that are in the directory &prog;
tjc's avatar
tjc committed
is launched from. The user home directory and the current working directories
tjc's avatar
tjc committed
are shown and can be navigated. 
tjc's avatar
tjc committed
        </PARA>
      </SECT3>

tjc's avatar
tjc committed
      <SECT3 ID="LAUNCH-WINDOW-SSH-FILEMANAGER">
        <TITLE>Open SSH File Manager ...</TITLE>
        <PARA>
This opens a window displaying a local file manager at the top and login
tjc's avatar
tjc committed
options to access a remote file system via Secure Shell (SSH). When the
tjc's avatar
tjc committed
login details are typed in and 'Connect' pressed the bottom half of the 
tjc's avatar
tjc committed
window will display the other (remote) file system. See <XREF LINKEND="SSH-CHAPTER"> 
to find out how to use this and how to set up the connection.
tjc's avatar
tjc committed
        </PARA>
      </SECT3>


tjc's avatar
tjc committed
      <SECT3 ID="LAUNCH-WINDOW-FILE-MENU-OPEN">
        <TITLE>Open ...</TITLE>
        <PARA>
If you select this menu item a file requester will be displayed which allows
you to open a flat file containing an entry.  If the file you select is
successfully read a new window will open, which shows the sequence and
features for the entry.  See <XREF LINKEND="MAINWINDOW-CHAPTER"> to find out
how to use the main window.
        </PARA>
      </SECT3>

      <SECT3 ID="LAUNCH-WINDOW-FILE-MENU-READ-FROM-EBI">
tjc's avatar
tjc committed
        <TITLE>Open from EBI - Dbfetch ...</TITLE>
tjc's avatar
tjc committed
        <PARA>
The functions will ask the user for an accession number and then will attempt
to read it directly from the <ULINK URL="http://www.ebi.ac.uk"
tjc's avatar
tjc committed
TYPE="external">EBI</ULINK> using 
<ULINK URL="http://www.ebi.ac.uk/cgi-bin/dbfetch" TYPE="external">Dbfetch</ULINK>.  
If all goes well you will be presented with an view/edit window (see <XREF
tjc's avatar
tjc committed
LINKEND="MAINWINDOW-CHAPTER">).
        </PARA>
        <PARA>
      </SECT3>

      <SECT3 ID="LAUNCH-WINDOW-FILE-MENU-QUIT">
        <TITLE>Quit</TITLE>
        <PARA>
This menu item will close all windows and then exit the program
        </PARA>
      </SECT3>
    </SECT2>

&options-menu;
  </SECT1>
</CHAPTER>