=head1 SYNOPSIS
- jpred --sequence <fasta file> [--output <output prefix>] [--db <database>] [--psi <psiblast output>] [--pred-nohits] [--verbose] [--debug] [--help] [--man]
+./jpred.pl -in/-sequence <FILE1> [-out/-output <FILEPREFIX>] [-dbname <DBNAME>] [-dbpath <PATH>] [-ncpu NNN] [-psi <psiblast output>] [-pred-nohits] [-verbose] [-debug] [-help] [-man]
=head1 DESCRIPTION
-This is a program which predicts the secondary structure of a sequence given a path to a FASTA sequence.
-It does all the PSI-BLAST searching and alignment 'meddling' as required by Jnet.
+This is a program which predicts the secondary structure of a protein sequence given a path to a
+FASTA sequence. It does all the PSI-BLAST searching and alignment 'meddling' as required by Jnet.
The program is primarily design for use by the Jpred server, but it can be used directly by any user.
Some of the output may not be meaningful if used directly - it can be safely ignored.
=over 5
-=item -sequence path to input FASTA file
+=item -in/-sequence FILE
-The path to the sequence (in FASTA format) you want to predict.
+The path to the sequence file (in FASTA format) you want to predict.
-=item -output file
+=item -out/-output FILEPREFIX
-A prefix to the filenames created by Jpred, defaults to the value set by --sequence.
+A prefix to the filenames created by Jpred, defaults to the value set by -sequence/-in.
-=item --db database
+=item -dbpath PATH
-Database to use for PSI-BLAST querying. This only accepts databases from a list which is pre-defined in the code. Crap I know, but that's the way it is at the moment. It's probably best to stick the default for the time being.
+Path to the uniref database used for PSI-BLAST querying.
+Default: .
+=item -dbname database
+
+Database to use for PSI-BLAST querying. This only accepts databases from a list which is pre-defined in the code.
Default: uniref90
=item -psi path
Path to a PSIBLAST output file.
-=item --pred-nohits
+=item -ncpu NNN
+
+Number of CPU used by jpred.pl. Maximum value is 8
+Default: NNN = 1
+
+=item -pred-nohits
Toggle allowing Jpred to make predictions even when there are no PSI-BLAST hits.
-=item --verbose
+=item -verbose
Verbose mode. Print more information while running jpred.
-=item --debug
+=item -debug
Debug mode. Print debugging information while running jpred.
-=item --help
+=item -help
Gives help on the programs usage.
-=item --man
+=item -man
Displays this man page.
Doesn't accept alignments.
-If you find any others please contact me.
+If you find any others please contact authors.
=head1 AUTHORS
## these other DBs are experimental ones used during development.
## check they exist before using them.
swall => {
-
# generic entry for use with validate_jnet.pl
# real db location defined by validate_jnet.pl
database => $db_path . "/swall/swall.filt",
},
uniprot => {
-
# Path to PSIBLAST db
database => $db_path . "/3/swall.filt",
unfiltered => $db_path . "/3/swall",
},
+
uniref50 => {
database => $db_path . "/6/swall.filt",
unfiltered => $db_path . "/6/swall",
},
};
-pod2usage(' --sequence argument not provided') unless $infile;
-die "--db $db_entry not recognised" unless exists $database->{$db_entry};
+pod2usage(' -sequence argument not provided') unless $infile;
+die "-db $db_entry not recognised" unless exists $database->{$db_entry};
$output = $infile . ".res" unless $output;
$ncpu = 1 if ( 1 > $ncpu or 8 < $ncpu );
## Accuracy won't be as good, but at least it's a prediction
if ( @seqs == 0 ) {
if ( $predNoHits == 0 ) {
- warn "\nJPRED: Warning! no PSI-BLAST hits found and '--pred-nohits' option not set. Exiting...\n";
+ warn "\nJPRED: Warning! no PSI-BLAST hits found and '-pred-nohits' option not set. Exiting...\n";
print ">>100% complete\n";
exit;
} else {