05-17-2016
Working fine. Thanks Rudic and Singh
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys,
Please help me if u have some solution.
I have a file with three columns separated by ':' -
INPUT_FILE
C416722_2 : calin Dirigent : Dirigent
AC4174_6 : Jac : cal_co
TC4260_5 : [no : lin kite
BC426302_1 : [no : calin Dirigent lin
JC426540_3 : lin Pymo_bin : calin
TC428_3 : no7... (4 Replies)
Discussion started by: sam_2921
4 Replies
2. Shell Programming and Scripting
Hi
I have file which contains 5 coulmns i need to add the fifth column value and put it in the desired location in the same column.
Here is the sample file..
ashop0004 SQL- 06/14/2009 06/14/2009 00:04:28 SUM
ashop0004 SQL- 06/14/2009 06/14/2009 00:00:37 ... (22 Replies)
Discussion started by: cutechaps
22 Replies
3. Shell Programming and Scripting
So I have this input
1 10327 rs112750067 T C . PASS DP=65;AF=0.208;CB=BC,NCBI
1 10469 rs117577454 C G . PASS DP=2055;AF=0.020;CB=UM,BC,NCBI
1 10492 rs55998931 C T . PASS DP=231;AF=0.167;CB=BC,NCBI
1 10583 rs58108140 G A ... (3 Replies)
Discussion started by: kellywilliams
3 Replies
4. Shell Programming and Scripting
Hola,
How can I add a column to a existing file??
PS: The column which should be added need to be the first column and it will be a parameter from the script.
Example:
1 name1
2 name2
3 name3
4 name3
Need to add parameter $file as a first column. $file is a file name with time... (6 Replies)
Discussion started by: Olivia
6 Replies
5. Shell Programming and Scripting
Hi, long time reader, first time poster.
I've done some searching so please if this is a repeated post excuse the duplicate, but what I have are two files roughly like so:
File 1:
A W
B X
C Y
D Z
File 2:
A 1
C 2
D 3
And what I would like to get out is... (4 Replies)
Discussion started by: wallysb01
4 Replies
6. Shell Programming and Scripting
Dear all,
Lets say, I've a file a.txt containing two columns, like
a1 b1
.. ..
.. ..
and another file b.txt containg two columns, like
a1 c1
.. ..
.. ..
I need to put c1 column from b.txt file to the a.txt file. So, the output should be
a1 b1 c1
.. .. ..
.. ... (4 Replies)
Discussion started by: mkg
4 Replies
7. Shell Programming and Scripting
Input File 1
cat S1.txt
MI0043 2731 miR-1
Input File 2
cat S4.txt
MI006 310 CiR-1
MI057 10 CiR-24
MI750 5 CiR-24
Desired Output File 1
cat S1.txt.out
MI0043 2731 miR-1 S1.txt
Desired Output File 2
cat S4.txt.out
MI006 310 CiR-1 S4.txt (3 Replies)
Discussion started by: perl_beginner
3 Replies
8. Shell Programming and Scripting
I have file like this
b,c
10,20
30,40
50,60
Now I want to add a new column a with fixed values for all the rows
a,b,c
60,10,20
60,30,40
60,50,60
Please let me know how can we do this in unix. (4 Replies)
Discussion started by: weknowd
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have this data file that contains:
1 A
2 B
3 C
4 D
5 E
6 F
7 G
8 H
9 I
I want the results to be:
1 A A
2 B A
3 C A
4 D A
5 E A
6 F A
7 G A
8 H A (8 Replies)
Discussion started by: bobo
8 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I have 2 files.
file1 contains by lines: hash:salt:id
file2 contains by lines: username:hash:salt
I would like to add a new coloumn (id) form file1 to file2.
The new file should contains: username:hash:salt:id
Note: file1 contains less rows than file2.
I tried
paste -d':' file1... (12 Replies)
Discussion started by: freeroute
12 Replies
LEARN ABOUT DEBIAN
tilestache-seed
TILESTACHE-SEED(1) General Commands Manual TILESTACHE-SEED(1)
NAME
tilestache-seed - seed a single layer in your TileStache configuration
SYNOPSIS
tilestache-seed [options] zoom...
DESCRIPTION
This manual page documents briefly the tilestache-seed command.
tilestache-seed seeds a single layer in your TileStache configuration. No images are returned, but TileStache ends up with a pre-filled
cache. Bounding box is given as a pair of lat/lon coordinates, e.g. "37.788 -122.349 37.833 -122.246". Output is a list of tile paths as
they are created.
Configuration, BBox, and Layer options are required.
REQUIRED OPTIONS
-c, --config file
Path to configuration file. Required.
-l, --layer layer
Layer name from configuration. Required.
-b, --bbox south west north east
Bounding box in floating point geographic coordinates. Required.
OPTIONS
-h, --help
Show summary of options.
-p, --padding padding
Extra margin of tiles to add around bounded area. Default value is 0 (no extra tiles).
-e, --extension extension
Optional file type for rendered tiles. Default value is "png".
-f, --progress-file file
Optional JSON progress file that gets written on each iteration, so you don't have to pay close attention.
-q Suppress chatty output, --progress-file works well with this.
-i, --include-path
Add the following colon-separated list of paths to Python's include path (aka sys.path).
-d, --output-directory
Optional output directory for tiles, to override configured cache with the equivalent of:
{"name": "Disk", "path": <output directory>, "dirs": "portable", "gzip": []}.
More information in http://tilestache.org/doc/#caches.
--to-mbtiles
Optional output file for tiles, will be created as an MBTiles 1.1 tileset. See http://mbtiles.org for more information.
--from-mbtiles
Optional input file for tiles, will be read as an MBTiles 1.1 tileset. See http://mbtiles.org for more information. Overrides
--extension, --bbox and --padding (this may change).
--tile-list
Optional file of tile coordinates, a simple text list of Z/X/Y coordinates. Overrides --bbox and --padding.
--error-list
Optional file of failed tile coordinates, a simple text list of Z/X/Y coordinates. If provided, failed tiles will be logged to this
file instead of stopping tilestache-seed.
--enable-retries
If true this will cause tilestache-seed to retry failed tile renderings up to (3) times. Default value is False.
-x, --ignore-cached
Re-render every tile, whether it is in the cache already or not.
SEE ALSO
tilestache-render(1)
AUTHOR
TileStache was written by Michal Migurski <mike@stamen.com>.
This manual page was written by David Paleino <dapal@debian.org>, for the Debian project (and may be used by others).
Nov 10, 2010 TILESTACHE-SEED(1)