Google

MAPREPLACE (CCP4: Unsupported Program)

NAME

mapreplace - Combine parts of 2 maps

SYNOPSIS

mapreplace mapin1 foo_in1.map mapin2 foo_in2.map mapout foo_out.map

DESCRIPTION

The program replaces specified region of MAPIN1 with the corresponding region of MAPIN2.

It reads from unit 5 the limits xmin, xmax, ymin ... etc, in fractions of the unit cell or in grid points. See example below.

INPUT AND OUTPUT FILES

MAPIN1 Input map 1

MAPIN2 Input map 2

MAPOUT Output map

AUTHORS

Originator : Eleanor Dodson, York University

Availability : Fortran 77

Contact : this program is unsupported

EXAMPLES


 Sample Unix input:

mapreplace mapin1 3fo2fc.map mapin2 in2.map mapout xx.map

2 5 2 5 2 5


 Sample program output:

  (Q)QOPEN allocated stream  1
  User:   Wojtek               Logical Name: MAPIN1
  Status: READONLY   Filename: 3fo2fc.map

  File name for input map file on unit   3 : 3fo2fc.map
                               file size =  257104  ;  logical name  MAPIN1


    Number of columns, rows, sections ...............   40   40   40
    Map mode ........................................    2
    Start and stop points on columns, rows, sections     0   39    0   39
    0   39
    Grid sampling on x, y, z ........................   40   80   40
    Cell dimensions .................................  33.30000  67.89000
  39.79000  90.00000 107.33000  90.00000
    Fast, medium, slow axes .........................    Z    X    Y
    Minimum density .................................    -1.07741
    Maximum density .................................     3.30056
    Mean density ....................................     0.34799
    Rms deviation from mean density .................     0.42917
    Space-group .....................................    4
    Number of titles ................................    1

 Titles :
           *** Fox  1.55 A   3FO-2FC ***


  (Q)QOPEN allocated stream  2
  User:   Wojtek               Logical Name: MAPIN2
  Status: READONLY   Filename: in2.map

  File name for input map file on unit   4 : in2.map
                               file size =  257104  ;  logical name  MAPIN2


    Number of columns, rows, sections ...............   40   40   40
    Map mode ........................................    2
    Start and stop points on columns, rows, sections     0   39    0   39
    0   39
    Grid sampling on x, y, z ........................   40   80   40
    Cell dimensions .................................  33.30000  67.89000
  39.79000  90.00000 107.33000  90.00000
    Fast, medium, slow axes .........................    Z    X    Y
    Minimum density .................................    -1.07741
    Maximum density .................................     3.30056
    Mean density ....................................     0.00001
    Rms deviation from mean density .................     0.00000
    Space-group .....................................    4
    Number of titles ................................    1

 Titles :
           *** Fox  1.55 A   3FO-2FC ***


 jx11=            0;jx21=           39
 jz11=            0;jz21=           39
 jsec1=            0;nsec1=           40
  (Q)QOPEN allocated stream  3
  User:   Wojtek               Logical Name: MAPOUT
  Status: UNKNOWN    Filename: xx.map

  File name for output map file on unit  11 :
     logical name MAPOUT

1                                        REPLACED PORTION OF FFT MAP
                                         =======================

 Cell sampling divisions:     40    80    40

 Grid limits of replaced map are      2     5     2     5     2     5

 Fractional limits of replaced map are  0.0500 0.1250 0.0250 0.0625 0.0500 0.125
0


 section number is :            0
 before mspew nupts nvpts rout1 rout.   40   40     0.674     0.457
 section number is :            1
 before mspew nupts nvpts rout1 rout.   40   40     0.582     0.319
 section number is :            2
 before mspew nupts nvpts rout1 rout.   40   40     0.388     0.363
 section number is :            3
 before mspew nupts nvpts rout1 rout.   40   40     0.356     0.494

                   (.........................)

 section number is :           36
 before mspew nupts nvpts rout1 rout.   40   40     0.464     0.212
 section number is :           37
 before mspew nupts nvpts rout1 rout.   40   40     0.258     0.245
 section number is :           38
 before mspew nupts nvpts rout1 rout.   40   40     0.628     0.711
 section number is :           39
 before mspew nupts nvpts rout1 rout.   40   40     0.827     0.778

   Minimum density in map  =  -1.07741   Maximum density  =  3.30056
   Mean density            =        0.00000
   Rms deviation from mean =        0.00000

  Normal Termination
User: 0.50s System: 0.78s Elapsed: 00:28.00s


Date: 11 Mar 1993
From: WOJTEK@de.EMBL-Hamburg