cnv_seq2dir.pl


NAME

cnv_seq2dir.pl - Split sequence file to dir of seq files


VERSION

This documentation refers to program version $Rev: 582 $


SYNOPSIS

Usage

    cnv_seq2dir.pl -i infile.fasta -f fasta -o dir [-r name]

Required Arguments

    --infile        # Path to the input file
                    # Expects STDIN if not specified
    --format        # Format of the sequence file
                    # (fasta|genbank)
    --outdir        # Path to the output directory
    --rootname      # Base name for output files
                    # Uses seq id if not specified


DESCRIPTION

Takes an input file in any valid bioperl format and converts it to a directory containing one fasta file for each sequence. Files are placed in a subdirectory under the current working directory that is given the same name as the outfile prefix.


REQUIRED ARGUMENTS

-i,--infile

The input file containing multiple sequence records to split into single sequence files.

-o, --outdir

The directory to place all of files with the single sequence records in. If this option is not specified. The sequences will be placed in a subdirectory of the current working directory named ind_seq_out.


OPTIONS

-r,--rootname

A root name to serve as the individual names of the output files. These will have a running number suffix appended to the outfile name. If not specified, the primary id on the input record will be used to name the output files.

-p, --pad

An integer representing the number of digits to pad file names with. This will be used to append to file names when the --rootname option is used. For example, this will transfrom root_1 to root_0001. The default is not to pad the numbers.

--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.

--verbose

Run the program with maximum output.

-q,--quiet

Run the program with minimal output.


DIAGNOSTICS

ERROR: Could not create root name dir

The program could not create the directory needed to hold the output for the sequence file. It is possible that you not have the proper access to create a directory in the path that you specified. It is also possible that the directory that you are trying to create this subdirectory in does not exist.


CONFIGURATION AND ENVIRONMENT

This program does not make use of a configuration file or options set in the user's environment.


DEPENDENCIES

Required Software

This program does not required any additional software.

Required Perl Modules


BUGS AND LIMITATIONS

Bugs

Limitations


REFERENCE

A manuscript is being submitted describing the DAWGPAWS program. Until this manuscript is published, please refer to the DAWGPAWS SourceForge website when describing your use of this program:

JC Estill and JL Bennetzen. 2009. The DAWGPAWS Pipeline for the Annotation of Genes and Transposable Elements in Plant Genomes. http://dawgpaws.sourceforge.net/


LICENSE

GNU General Public License, Version 3

http://www.gnu.org/licenses/gpl.html

THIS SOFTWARE COMES AS IS, WITHOUT ANY EXPRESS OR IMPLIED WARRANTY. USE AT YOUR OWN RISK.


AUTHOR

James C. Estill <JamesEstill at gmail.com>


HISTORY

STARTED: 07/22/2004

UPDATED: 03/24/2009

VERSION: $Rev: 582 $

 cnv_seq2dir.pl