10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please help with the following.
I have 4 col data .. instrument , category, variable and value. the instruments belong to particular categories and they all measure some variables (var1 and var2 in this example), the last column is the value an instrument outputs for a variable.
I have used... (0 Replies)
Discussion started by: ritakadm
0 Replies
2. Shell Programming and Scripting
Hi,
I have one file with one column and several hundred entries
File1:
NA1
NA2
NA3And now I need to run a command within a mapping aligner tool to insert these sample names into a sequence alignment file (SAM) such that they look like this
@RG ID:Library1 SM:NA1 PL:Illumina ... (7 Replies)
Discussion started by: nans
7 Replies
3. Shell Programming and Scripting
I'm probably sure I need to use either awk or sed judging by research but I'm not sure what exact command I have to do to do following...:wall:
So this is my text file
CPU 1 2 3 4 5 6
RAM 2 3 4 5 6 7
HAR 3 4 5 6 7 8
--------------
my input:
Cur_CPU=10
Cur_RAM=11
Cur_HAR=13
Desired... (5 Replies)
Discussion started by: simonirang
5 Replies
4. Shell Programming and Scripting
Hi,
I have a file which looks like this:
A 01 00
B 02 00
C 04 00
D 00 01
E 01 01
F 02 01
G 01 04
H 02 04
I want to insert some text if the field if the last column changes. It should look like this:
Value 00
A 01 00
B 02 00
C 04 00
Value 01 (6 Replies)
Discussion started by: wenclu
6 Replies
5. UNIX for Dummies Questions & Answers
I have a tab delimited text file with multiple columns (data.txt). I would like to insert a column into the text file. The column I want to insert is in a text file (column.txt). I want to insert it into the 5th column of data.txt. How do I go about doing that? Thanks! (2 Replies)
Discussion started by: evelibertine
2 Replies
6. Shell Programming and Scripting
Match column 3 in file1 to column 1 in file 2 and replace with column 2 from file2
file 1 sample
SNDK 80004C101 AT
XLNX 983919101 BB
NETL 64118B100 BS
AMD 007903107 CC
KLAC 482480100 DC
TER 880770102 KATS
ATHR 04743P108 KATS... (7 Replies)
Discussion started by: rydz00
7 Replies
7. Ubuntu
Hi;
I've been searching posts to find a solution to what I'm trying to do, but I've have NOT found anything yet.
I have a file (file1) with 300K columns and 1411 rows, the columns don't have a column no. header (No header at all) and I'm trying to fetch the information from specific columns.... (3 Replies)
Discussion started by: sogi
3 Replies
8. Shell Programming and Scripting
Hi, Iam new to unix. I have one input file .
Input file :
ID1~Name1~Place1
ID2~Name2~Place2
ID3~Name3~Place3
I need output such that only first column should change to fixed width column of 15 characters of length.
Output File:
ID1<<12 spaces>>Name1~Place1
ID2<<12... (5 Replies)
Discussion started by: manneni prakash
5 Replies
9. Shell Programming and Scripting
Hi
I have two files, one is 1.6 GB. I would like to add one extra column of information to the large file at a specific location (after its 2nd column).
For example:
File 1 has two columns more than 1000 rows like this
MM009987 1
File 2 looks like this
MM00098 MM00076 3 4 2 4 2... (1 Reply)
Discussion started by: sogi
1 Replies
10. UNIX for Advanced & Expert Users
Hey..
I'm writing a code to download some stuff from Informix database and put it on Xls. It works fine, but I have a problem fitting in a new requirement.
I have currently a file which has information like below.
f_name|Ronnie|Johnson|23.00|
f_sal|Ronnie|Jhonson|4000.00|... (4 Replies)
Discussion started by: rosh0623
4 Replies
SUMO(1) User Commands SUMO(1)
NAME
SUMO - Importer of polygons and POIs for the road traffic simulation SUMO
SYNOPSIS
polyconvert [OPTION]*
DESCRIPTION
SUMO polyconvert Version 0.15.0
Copyright (C) 2001-2012 DLR and contributors; http://sumo.sourceforge.net
Importer of polygons and POIs for the road traffic simulation SUMO.
Configuration Options:
-c, --configuration-file FILE
Loads the named config on startup
--save-configuration FILE
Saves current configuration into FILE
--save-template FILE
Saves a configuration template (empty) into FILE
--save-schema FILE
Saves the configuration schema into FILE
--save-commented
Adds comments to saved template, configuration, or schema
Input Options:
-n, --net-file FILE
Loads SUMO-network FILE as reference to offset and projection
--dlr-navteq-poly-files FILE
Reads polygons from FILE assuming they're coded in DLR-Navteq (Elmar)-format
--dlr-navteq-poi-files FILE
Reads pois from FILE+ assuming they're coded in DLR-Navteq (Elmar)-format
--visum-files FILE
Reads polygons from FILE assuming it's a Visum-net
--xml-files FILE
Reads pois and shapes from FILE assuming they're coded in XML
--osm-files FILE
Reads pois from FILE+ assuming they're coded in OSM
--osm.keep-full-type
The type will be made of the key-value - pair.
--osm.use-name
The id will be set from the given 'name' attribute.
--shapefile-prefixes FILE
Reads shapes from shapefiles FILE+
--shapefile.guess-projection
Guesses the shapefile's projection
--shapefile.id-column FILE
Defines in which column the id can be found
--type-file FILE
Reads types from FILE
Output Options:
-o, --output-file FILE
Write generated polygons/pois to FILE
Projection Options:
--simple-projection
Uses a simple method for projection
--proj.scale INT
Number of places to shift decimal point to right in geo-coordinates
--proj.utm
Determine the UTM zone (for a universal transversal mercator projection based on the WGS84 ellipsoid)
--proj.dhdn
Determine the DHDN zone (for a transversal mercator projection based on the bessel ellipsoid)
--proj STR
Uses STR as proj.4 definition for projection
--proj.inverse
Inverses projection
Pruning Options:
--prune.in-net
Enables pruning on net boundaries
--prune.in-net.offsets STR
Uses STR as offset definition added to the net boundaries
--prune.boundary STR
Uses STR as pruning boundary
--prune.keep-list STR
Items in STR will be kept though out of boundary
--prune.explicit STR
Items with names in STR will be removed
Processing Options:
--offset.x FLOAT
Adds FLOAT to net x-positions
--offset.y FLOAT
Adds FLOAT to net y-positions
Building Defaults Options:
--color STR
Sets STR as default color
--prefix STR
Sets STR as default prefix
--type STR
Sets STR as default type
--layer INT
Sets INT as default layer
--discard
Sets default action to discard
Report Options:
-v, --verbose
Switches to verbose output
-p, --print-options
Prints option values before processing
-?, --help
Prints this screen
-V, --version
Prints the current version
-W, --no-warnings
Disables output of warnings
-l, --log FILE
Writes all messages to FILE (implies verbose)
--message-log FILE
Writes all non-error messages to FILE (implies verbose)
--error-log FILE
Writes all warnings and errors to FILE
EXAMPLES
polyconvert -c <CONFIGURATION>
run with configuration options set in file
REPORTING BUGS
Report bugs at <http://sourceforge.net/apps/trac/sumo/>.
Get in contact via <sumo-user@lists.sourceforge.net>.
Copyright (C) 2001-2012 DLR and contributors; http://sumo.sourceforge.net
SUMO polyconvert Version 0.15.0 is part of SUMO.
SUMO is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/gpl.html
SUMO polyconvert Version 0.15.0 May 2012 SUMO(1)