fasta_dirsplit.pl - Split dir of fasta files into n dirs
This documentation refers to fasta_dirsplit version $Rev: 321 $
fasta_dirsplit.pl -i DirToProcess -o OutDir -b BaseName -n NumDirs
-i, --indir # Directory of fasta files to process
-o, --outdir # Path to the base output directory
-n, --num-dir # Number of dirs to split parent into
-b, --base-name # Base name of output directories
Spilts a directory containing multiple fasta files into n directories.
The base name indicated at the command line will be used to assign a
prefix name to the directories that are created.
- -i,--indir
-
Path of the directory containing the sequences to process.
- -o,--outdir
-
Path of the directory to place the program output.
- -n,--num-dir
-
Number of dirs to split the parent dir into.
- -b,--base-name
-
Name to use a base name for creating the subdirectories.
- --logfile
-
Path to a file that will be used to log program status.
If the file already exists, additional information will be concatenated
to the existing file.
- --usage
-
Short overview of how to use program from command line.
- --help
-
Show program usage with summary of options.
- --version
-
Show program version.
- --man
-
Show the full program manual. This uses the perldoc command to print the
POD documentation for the program.
- -q,--quiet
-
Run the program with minimal output.
- --test
-
Run the program without doing the system commands.
Error messages generated by this program and possible solutions are listed
below.
- ERROR: No fasta files were found in the input directory
-
The input directory does not contain fasta files in the expected format.
This could happen because you gave an incorrect path or because your sequence
files do not have the expected *.fasta extension in the file name.
- ERROR: Could not create the output directory
-
The output directory could not be created at the path you specified.
This could be do to the fact that the directory that you are trying
to place your base directory in does not exist, or because you do not
have write permission to the directory you want to place your file in.
The fasta_dirsplit.pl program does not required a configuration
file or make use of options defined in the user's environment.
Additional software is not required to use the fasta_dirspli.pl program.
- File::Copy
This module is required to copy the BLAST results.
- Getopt::Long
This module is required to accept options at the command line.
- Limited fasta file extensions
The fasta_dirsplit program will only identify files as a valid fasta
file if they have the *.fasta or *.fa extension at the end of the
file name
The fasta_dirsplit.pl program is part of the DAWG-PAWS package of genome
annotation programs. See the DAWG-PAWS web page
( http://dawgpaws.sourceforge.net/ )
or the Sourceforge project page
( http://sourceforge.net/projects/dawgpaws )
for additional information about this package.
GNU GENERAL PUBLIC LICENSE, VERSION 3
http://www.gnu.org/licenses/gpl.html
James C. Estill <JamesEstill at gmail.com>
STARTED: 07/24/2007
UPDATED: 12/10/2007
VERSION: $Rev: 321 $