package Help;
use FindBin;
use lib "$FindBin::Bin/../../lib/perl";
use strict;
our @ISA = qw/Exporter/;
our @EXPORT = qw/help_all help_gen_jobs help_gen_tools
help_javascript help_general help_jobs help_tools
/;
#### Subroutine: help_all
# returns all of the help options
####
sub help_all {
my $help = help_javascript();
$help .= qq~
SolexaTrans Pipeline Help
~;
$help .= help_general();
$help .= help_jobs();
$help .= help_tools();
return $help;
}
sub help_gen_jobs {
my $help = help_javascript();
$help .= qq~
SolexaTrans Pipeline Help
~;
$help .= help_general();
$help .= help_jobs();
return $help;
}
sub help_gen_tools {
my $help = help_javascript();
$help .= qq~
SolexaTrans Pipeline Help
~;
$help .= help_general();
$help .= help_tools();
return $help;
}
sub help_javascript {
my $js = qq~
~;
return $js;
}
sub help_general {
my $help = qq~
General
The SolexaTrans Pipeline is a program that takes the output of the Solexa Pipeline
(from the Solexa sequencing machine) and allows users to map the export from the Solexa
Pipeline (s_#_export.txt) to any number of genomes of their choice. New genomes
must be added by a SBEAMS administrator. Available genomes may be browsed from the 'Browse BioSeqs' link.
The main SolexaTrans page contains a summarized list of the Solexa samples that are
available to be processed and quick links to job control and results pages. More detailed
options for job creation (including the ability to start multiple jobs at once) are available
from the 'Start Pipeline' link on the left navigation bar.
~;
return $help;
}
sub help_jobs {
my $help = qq~
Job Information
Each Solexa sample can have multiple jobs run on it with various parameters. The SBEAMS website
defaults to displaying the most recent job. The various job statuses are:
- QUEUED - This job is queued on the cluster to begin running.
- RUNNING - This job is currently running on the cluster.
- CANCELED - This job has been canceled by the user.
- UPLOADING - This job has finished running and is uploading results to the SolexaTrans database.
The STP files are available for use (Plots, Download, Explore, Tag Statistics), but the web query pages
will not display results (GetCounts).
- PROCESSED - This job has finished running and has uploaded the GENE information to the SolexaTrans
database, but UPLOADING the TAG information to the SolexaTrans database was not selected
or failed before it completed. The STP files are are available for use (Plots, Download, Explore,
Tag Statistics, GetCounts Gene Query), but the web query pages will not display results (GetCounts Tag Query).
- COMPLETED - This job has finished running and has successfully uploaded both GENE and TAG information
into the SolexaTrans database. All website functions are available.
~;
return $help;
}
sub help_tools {
my $help = qq~
Tools
The SolexaTrans SBEAMS website contains various tools that are designed to help process STP jobs
or facilitate data analysis.
- Main SolexaTrans Page/Plot Tag Counts - The main SolexaTrans SBEAMS page contains two tools that
assist in data analysis.
- Compare Samples - This tool creates a sortable comparison table of the detailed tag statistics for
selected 'UPLOADING', 'PROCESSED', or 'COMPLETED' jobs. Shows one job per sample based on what
is selected in the main table.
- Draw Plots - This tool creates R plots that graph the correlation coefficient between two samples.
This tool only uses tags that have values in both samples.
- Sample Tags by Job - Displays some tag statistics for each job in the system. Can be sorted and can be
filtered so that it displays all jobs for a specific sample.
- Sample QC - Displays basic quality control information retrieved from SlimSeq (Lane Yield, Average
Clusters, Percent of Clusters that Pass Filtering, Percent Error) and links to the Summary file that
is produced by the Solexa Pipeline (Illumina).
- Get Counts - Can be used to retrieve specific tag or specfic gene counts, examine which genes a particular
tag matches to, retrieve the top ten genes in a specific job and many additional functions. This tool
only functions if the job has finished the 'UPLOADING' stage. If a job is 'PROCESSED' then some results
may be available, but the full resultset is not available. Use of this tool with a 'PROCESSED' or
'UPLOADING' job state may give misleading results.
- Download Data - Allows the user to download data, view the Solexa Pipeline Summary file (produced by the
Illumina software), or explore to the location of the STP output files.
~;
return $help;
}
1;