(→Database Configuration) |
(→Database Configuration) |
||
Line 78: | Line 78: | ||
*Type: "<tt>source <base_path>/gpmdb/create_local_gpmdb_users.sql;</tt>" (without the quotes), where <base_path> is the location where gpm-software.zip was extracted; e.g., '''D:''' or '''F:/sites'''. This will create the users needed by the Perl scripts to both display and add information to the database. | *Type: "<tt>source <base_path>/gpmdb/create_local_gpmdb_users.sql;</tt>" (without the quotes), where <base_path> is the location where gpm-software.zip was extracted; e.g., '''D:''' or '''F:/sites'''. This will create the users needed by the Perl scripts to both display and add information to the database. | ||
*Type: "<tt>source <base_path>/gpmdb/populate_paths_table.sql;</tt>" (without the quotes), where <base_path> is the location where gpm-software.zip was extracted; e.g., '''D:''' or '''F:/sites'''. This will add a path value for all GPM result files created by search software on your installation. | *Type: "<tt>source <base_path>/gpmdb/populate_paths_table.sql;</tt>" (without the quotes), where <base_path> is the location where gpm-software.zip was extracted; e.g., '''D:''' or '''F:/sites'''. This will add a path value for all GPM result files created by search software on your installation. | ||
+ | *From the DOS prompt, navigate to '''<base_path>/thegpm/scripts/descriptions/'''. For each file in the directory, run the command <tt>perl <base_path>/thegpm/scripts/add_descriptions_to_map.pl file <file name></tt>. Alternatively, type <tt>for /f %f in ('dir /b <base_path>\thegpm\scripts\descriptions\*.txt') do perl <base_path>/thegpm/scripts/add_descriptions_to_map.pl file <base_path>\thegpm\scripts\descriptions\%f</tt>, where <base_path> is the location where gpm-software.zip was extracted; e.g., '''D:''' or '''F:/sites'''. This will add the protein descriptions to enspmapdb for the proteins described in the .fasta files bundled with the installation. | ||
=== Automation Configuration === | === Automation Configuration === | ||
*Schedule the execution of the '''\thegpm\scripts\processArchives.pl''' script, which parses the XML files created by the search software and adds them to the database. This can be done in the Windows Control Panel, under Scheduled Tasks. | *Schedule the execution of the '''\thegpm\scripts\processArchives.pl''' script, which parses the XML files created by the search software and adds them to the database. This can be done in the Windows Control Panel, under Scheduled Tasks. |
Contents |