I would like to remove characters from column 7 so that from an input file looking like this:
>HWI-EAS422_12:4:1:69:89 GGTTTAAATATTGCACAAAAGGTATAGAGCGT U0 1 0 0 ref_chr8.fa 6527777 F DD
I get something like that in an output file:
... (13 Replies)
I have a large text-file with tab-delimited genetic data that looks like:
KSC112 KSC234 0 0 1 1 A G C T
I simply wan to delete the first column, but since the file has 600 000 columns, it is not possible with awk (seems to be limited at 32k columns).
Does anyone have an idea how to do this? (2 Replies)
I want to add a new column to a tab delimited text file. It will be the first column and it will just be 1's. How do I go about doing that? Thanks! (1 Reply)
Hi all,
I'm new to Unix and work primarily in bioinformatics. I am in need of a script which will allow me to replace "1" with "chr1" in only the first column of a file which looks like such:
1 10327 rs112750067 T C . PASS ASP;RSPOS=10327;... (4 Replies)
I have a file having the following entries:
test1 test2 test3
11 22 33
22 44 66
99 99 44
---
I want to add a column so that the above file becomes:
test1 test2 test3 notest
11 22 33 *
22 44 66 *
99 99 44 *
---
Thanks (6 Replies)
Hi,
Can anyone please tell me about how we can delete an entire column from a tab delimited file?
Mu input_file.txt looks like this:
And I want the output as:
I used the below code
nawk -v d="1" 'BEGIN{FS=OFS="\t"}{$d=""}{print}' input_file.txtBut in the output, the first column is... (5 Replies)
I have tried the following to no avail.
xargs -n8 < test.txt
awk '{if(NR%6!=0){p=""}else{p="\n"};printf $0" "p}' Mod_Alm_log.txt > test.txt
I have tried different variations of the above, the problem is mixes lines together.
And it includes the tags "%a and %A" I need them to be all tab... (16 Replies)
Hello Everyone..
I want to replace the retail col from FileI with cstp1 col from FileP if the strpno matches in both files
FileP.txt
... (2 Replies)
Discussion started by: YogeshG
2 Replies
LEARN ABOUT BSD
expireover
EXPIREOVER(8) System Manager's Manual EXPIREOVER(8)NAME
expireover - Expire entries from the news overview database
SYNOPSIS
expireover [ -a ] [ -D overviewdir ] [ -f file ] [ -n ] [ -O overview.fmt ] [ -s ] [ -v ] [ -z ] [ file... ]
DESCRIPTION
Expireover expires entries from the news overview database. It reads a list of pathnames (relative to the spool directory,
/var/spool/news), from the specified files or standard input if none are specified. (A file name of ``-'' may be used to specify the stan-
dard input.) It then removes any mention of those articles from the appropriate overview database.
OPTIONS -z If the ``-z'' flag is used, then the input is assumed to be sorted such that all entries for a newsgroup appear together so that it
can be purged at once. This flag can be useful when used with the sorted output of expire(8)'s ``-z'' flag.
-s If the ``-s'' flag is used, then expireover will read the spool directory for all groups mentioned in the active(5) file, and remove
the overview entries of any articles that do not appear in the directory.
-f To specify an alternate file, use the ``-f'' flag; a name of ``-'' is taken to mean the standard input.
-a The ``-a'' flag reads the spool directory and adds any missing overview entries. It will create files if necessary. This can be
used to initialize a database, or to sync up a overview database that may be lacking articles due to a crash. Overchan should be
running, to ensure that any incoming articles get included. Using this flag implies the ``-s'' flag; the ``-f'' flag may be used to
add only a subset of the newsgroups.
-v To see a list of the entries that would be added or deleted, use the ``-v'' flag.
-n To perform no real updates, use the ``-n'' flag.
-D The ``-D'' flag can be used to specify where the databases are stored. The default directory is /var/spool/news/over.view.
-O The ``-O'' flag may be used to specify an alternate location for the overview.fmt(5) file; this is normally only useful for debug-
ging.
HISTORY
Written by Rob Robertson <rob@violet.berkeley.edu> and Rich $alz <rsalz@uunet.uu.net> (with help from Dave Lawrence <tale@uunet.uu.net>)
for InterNetNews. This is revision 1.8, dated 1996/10/29.
SEE ALSO expire(8), overview.fmt(5).
EXPIREOVER(8)