CHOPUP

[ Program Manual | User's Guide | Data Files | Databases ]

Table of Contents
FUNCTION
DESCRIPTION
EXAMPLE
OUTPUT
RELATED PROGRAMS
RESTRICTIONS
CONSIDERATIONS
COMMAND-LINE SUMMARY
LOCAL DATA FILES
PARAMETER REFERENCE

FUNCTION

[ Top | Next ]

ChopUp converts a non-GCG sequence file containing lines longer than 511 characters and as long as 32,000 characters into a new file containing lines no longer than 50 characters. The new file can be read by Reformat to create a GCG-format sequence file.

DESCRIPTION

[ Previous | Top | Next ]

This program converts a file with long lines to a file with lines no longer than 50 characters, splitting long lines into two or more lines. When possible, lines are split at a blank space.

EXAMPLE

[ Previous | Top | Next ]

Here is a session using ChopUp to convert the file gamma.seq to a file with lines no longer than 50 characters:


% chopup

 CHOPUP what file ?  gamma.seq

 What should I call the chopped file (* gamma.dat *) ?

 All of "gamma.seq" chopped up without error!

%

OUTPUT

[ Previous | Top | Next ]

Here is part of the output file:


!!NA_SEQUENCE 1.0
Human fetal beta globins G and A gamma
from Shen, Slightom and Smithies,  Cell 26;
191-203.
Analyzed by Smithies et al. Cell 26; 345-353.

gamma.seq  Length: 11375  June 27, 1994 10:09
Type: N  Check: 6474  ..

       1  GGATCCTAGA TATTCCTTAG TCTGAGGAGG
AGCAATTAAG ATTCACTTGT

      51  TTAGAGGCTG GGAGTGGTGG CTCACGCCTG
TAATCCCAGA ATTTTGGGAG

//////////////////////////////////////////

RELATED PROGRAMS

[ Previous | Top | Next ]

Replace, CompressText, OneCase, ShiftOver, DeTab, ChopUp, LPrint, and ListFile are the Wisconsin Package file utilities programs.

RESTRICTIONS

[ Previous | Top | Next ]

No line in the input file may be longer than 32,000 characters.

CONSIDERATIONS

[ Previous | Top | Next ]

Sequence files prepared with a text editor or brought to your computer from other sources may contain lines longer than 511 characters. These sequence files must be converted by ChopUp before being read by Reformat.

COMMAND-LINE SUMMARY

[ Previous | Top | Next ]

All parameters for this program may be added to the command line. Use -CHEck to view the summary below and to specify parameters before the program executes. In the summary below, the capitalized letters in the parameter names are the letters that you must type in order to use the parameter. Square brackets ([ and ]) enclose parameter values that are optional. For more information, see "Using Program Parameters" in Chapter 3, Using Programs in the User's Guide.


Minimal Syntax: % chopup [-INfile=]gamma.seq -Default

Prompted Parameters: None

Local Data Files:  None

Optional Parameters:
-LENgth=50             sets the maximum line length in the output file
-NOMONitor             suppresses the screen monitor

LOCAL DATA FILES

[ Previous | Top | Next ]

None.

PARAMETER REFERENCE

[ Previous | Top | Next ]

You can set the parameters listed below from the command line. For more information, see "Using Program Parameters" in Chapter 3, Using Programs in the User's Guide.

-LENgth=50

sets the maximum line length in the output file. -LENgth can have any value from 2 to 132.

-MONitor

This program normally monitors its progress on your screen. However, when you use -Default to suppress all program interaction, you also suppress the monitor. You can turn it back on with this parameter. If you are running the program in batch, the monitor will appear in the log file.

Printed: December 9, 1998 16:29 (1162)

[ Program Manual | User's Guide | Data Files | Databases ]


Documentation Comments: doc-comments@gcg.com
Technical Support: help@gcg.com

Copyright (c) 1982-2001 Genetics Computer Group, Inc. A subsidiary of Pharmacopeia, Inc. All rights reserved.

Licenses and Trademarks Wisconsin Package is a trademark of Genetics Computer Group, Inc. GCG and the GCG logo are registered trademarks of Genetics Computer Group, Inc.

All other product names mentioned in this documentation may be trademarks, and if so, are trademarks or registered trademarks of their respective holders and are used in this documentation for identification purposes only.

Genetics Computer Group

www.gcg.com