changed to:
should capture the 43 in NM_001134408:exon3:c.415-43A>G and that wiill be the value of $transcript? I am not sure how to also use f[13} in this rule. In the cases that have multiple f[8] values, like in line 1, the first can be used.
In line 1 f[8] is
NM_001134408:exon3:c.415-43A>G;NM_001134407:exon3:c.415-43A>G;NM_000833:exon4:c.415-43A>G aand the ; (semi-colon) indicates the start of a new value. NM_001134408:exon3:c.415-43A>G would be the first value, so 43 is read into the $transcript variable and since f[13] is 0.0004, f[55] is VUS. Thank you .
Hi
i am new to scripting. i have a file file.dat with content as :
CONTENT_STORAGE PERCENTAGE FLAG:
/storage_01 64% 0
/storage_02 17% 1
I need to update the value of FLAG for a particular CONTENT_STORAGE value
I have written the following code
#!/bin/sh
threshold=20... (1 Reply)
I have a text file like this:
subject1:LecturerA:10
subject2:LecturerA:40
if I was given string in column 1 and 2 (which are subject 1 and LecturerA) , i need to update 3rd field of that line containing that given string , which is, number 10 need to be updated to 100 ,for example.
The... (6 Replies)
I am trying to add a condition to the below perl that will capture the GTtag and place a specific string in the last field of each line. The problem is that the GT value used is not right after the tag rather it is a few fields away. The values should always be 0/1 or 1/2 and are in bold in the... (12 Replies)
In the tab-delimeted input file below I am trying to use awk to update the value in $2 if TYPE=ins in bold, by adding the value of
HRUN= in italics. In the below since in line 1 TYPE=ins the 117282541 value in $2 has 6 added because that is the value of HRUN=.
Hopefully the awk is a start but I... (2 Replies)
In the perl below I am trying to set/update the value of $14 (last field) in file2, using the matching NM_ in $12
or $9 in file2 with the NM_ in $2 of file1.
The lengths of $9 and $12 can be variable but what is consistent is the start pattern will always be NM_ and the end pattern is always
;... (4 Replies)
In the perl there is a default rule that sets f to VUS, and then a seris of rules that will change f based on the result that is
obtained from the rule. The code below is a rule that is supposed to be applicable to lines 2-4 because this rule just looks at the digit in f. So in line 2 f is 27... (4 Replies)
I have been reading old posts and trying to come up with a solution for the below: Use a tab-delimited input file to assign
point to variables that are used to update a specific field, Rank. I really couldn't find too much in the way of assigning points
to variable, but made an attempt at an awk... (4 Replies)
I have an input file with
A=xyz
B=pqr
I would want the value in Second Field (xyz or pqr) updated with a value present in Shell Variable based on the value passed in the first field. (A or B )
while read line
do
NEW_VALUE = `some functionality done on $line`
If $line=First Field-... (1 Reply)
Hi,
So awk is driving me crazy on this one. I have searched everywhere and read man, docs and every related post Google can find and still no luck. The actual files I need to run this on are sensitive in nature, but it is the same thing as if I needed to calculate weighted grades for multiple... (15 Replies)
Discussion started by: cotilloe
15 Replies
LEARN ABOUT DEBIAN
dico
DICO(1) User Commands DICO(1)NAME
dico - a DICT client
SYNOPSIS
dico [-mDSHIqatvh] [-p SERVICE] [-d NAME] [-s NAME] [-i DBNAME] [-u NAME] [-k STRING] [-c STRING] [--host=SERVER] [--port=SERVICE] [--data-
base=NAME] [--source=ADDR] [--match] [--strategy=NAME] [--levdist, --levenshtein-distance=N]fR [--dbs] [--strategies] [--serverhelp]
[--info=DBNAME] [--serverinfo] [--quiet] [--noauth] [--sasl] [--nosasl] [--user=NAME] [--key, --passwordfR=STRING]fR [--autologin=NAME]
[--client=STRING] [--transcript] [--verbose] [--time-stamp] [--source-info] [--help] [--usage] [--version]
DESCRIPTION
dico is an RFC 2229 compliant dictionary client.
OPTIONS
Server selection
--host=SERVER
Connect to this server.
-p, --port=SERVICE
Specify port to connect to.
-d, --database=NAME
Select a database to search.
--source=ADDR
Set a source address for TCP connections.
Operation modes
-m, --match
Match instead of define.
-s, --strategy=NAME
Select a strategy for matching. Implies --match.
--levdist, --levenshtein-distance=N
Set maximum Levenshtein distance to N.
-D, --dbs
Show available databases.
-S, --strategies
Show available search strategies.
-H, --serverhelp
show server help.
-i, --info=DBNAME
Show information about database DBNAME.
-I, --serverinfo
Show information about the server.
-q, --quiet
Do not print the normal dico welcome.
Authentication
-a, --noauth
Disable authentication.
--sasl Enable SASL authentication (default).
--nosasl
Disable SASL authentication.
-u, --user=NAME
Set user name for authentication.
-k, --key, --password=STRING
Set shared secret for authentication.
--autologin=NAME
Set the name of autologin file to use.
-c, --client=STRING
Additional text for client command.
Debugging
-t, --transcript
Enable session transcript.
-v, --verbose
Increase debugging verbosity level.
--time-stamp
Include time stamp in the debugging output.
--source-info
Include source line information in the debugging output.
Other options
-h, --help
Give this help list
--usage
Give a short usage message
--version
Print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
REPORTING BUGS
Report bugs to <bug-dico@gnu.org>.
COPYRIGHT
Copyright (C) 2005, 2006, 2007, 2008 Sergey Poznyakoff License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO dicod(8),
The full documentation for dico is maintained as a Texinfo manual. If the info and dico-doc programs are properly installed at your site,
the command
info dico
should give you access to the complete manual.
AUTHOR
dico was written by Sergey Poznyakoff <gray@gnu.org.ua>.
This manual page was written by (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org>, for the Debian project (and may be used by others).
dico (GNU dico 2.0) April 2009 DICO(1)