Hi there
I have a file with a variable amount of rows but the 45th, 46th and 47th charachter of each line is the status field which is a three digit code ie 001, 002, 003 etc. My question is this..I need to strip all the records/lines with 002's out of the file completely and put them into... (14 Replies)
Can anyone tell me what could be the solution to following :
I have one .txt file which contains some "seed" information. This seed may appear multiple time in the file so what I want do is if this seed appears again in the file then that line should be removed.
Please provide the script code... (4 Replies)
Hello,
I've to change the shell in /etc/passwd for some users .
I've the list of users but I'm not able to modify the file with scripting .
I'm working on a Sol10 .
Can anyone help me ?
tnks (7 Replies)
I have searched the forum for this - forgive me if I missed a previous post.
I have the following file:
blah blah blah
blah blah blah
blah blah blah
blah blah blah
blah blah blah
alter table "informix".esc_acct add constraint (foreign key (fi_id)
references "informix".fi ... (5 Replies)
Hi,
I have requirement that I need to split my input file into two files based on a search pattern "abc"
For eg. my input file has below content
abc
defgh
zyx
I need file 1 with
abc
and file2 with
defgh
zyx
I can use grep command to acheive this. But with grep I need... (8 Replies)
I am trying to remove lines in the target.txt file if $5 before the - in that file matches sorted_list. I have tried grep and awk. Thank you :).
grep
grep -v -F -f targets.bed sort_list
grep -vFf sort_list targets
awk
awk -F, '
> FILENAME == ARGV {to_remove=1; next}
> ! ($5 in... (2 Replies)
In the awk piped to sed below I am trying to format file by removing the odd xxxx_digits and whitespace after, then move the even xxxx_digit to the line above it and add a space between them. There may be multiple lines in file but they are in the same format. The Filename_ID line is the last line... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT DEBIAN
asnval
ASNVAL(1) NCBI Tools User's Manual ASNVAL(1)NAME
asnval - validate ASN.1 biological sequence records
SYNOPSIS
asnval [-] [-A] [-B] [-C N] [-D] [-E str] [-F] [-G] [-J] [-K] [-L filename] [-M] [-N flags] [-P N] [-Q N] [-R N] [-S N] [-T] [-U] [-X] [-Y]
[-Z] [-a type] [-b] [-c] [-d path] [-e] [-f str] [-i filename] [-k] [-l] [-o filename] [-p path] [-q] [-r] [-u] [-v N] [-x str]
DESCRIPTION
asnval is a command-line tool to validate ASN.1-format biological sequence records.
OPTIONS
A summary of options is included below.
- Print usage message
-A Validate Alignments
-B Validate Barcodes
-C N Max count
-D Disable message suppression
-E str Only Error Code to Show
-F Test network access
-G GI lookup from accession
-J Require ISO-JTA?
-K Summary to error file
-L filename
Log File
-M Match locus_tag against General ID
-N flags
Latitude-longitude / country flags
0 none
1 test state/province
2 ignore water exception
3 both of the above
-P N Highest severity for error to show:
0 none
1 informational
2 warning
3 error (default for -Q)
4 grounds for rejection (default for -P, -R)
-Q N Lowest severity for error to show, per P
-R N Severity for error in return code, per P
-S N Skip count
-T Use Threads
-U Genome center submission
-X Exon splice check
-Y Check against old IDs
-Z Remote CDS product fetch
-a type
Input ASN.1 type:
a Automatic (default)
c Catenated
z Any
e seq-Entry
b Bioseq
s bioseq-Set
m seq-subMit
t baTch bioseq-set
u batch seq-sUbmit
-b Batch file is Binary
-c Batch file is Compressed
-d path
Path to Indexed Binary ASN.1 Data
-e Ignore transcription/translation Exceptions
-x str Substring filter
-i filename
Single input file (standard input by default)
-k Local fetching
-l Lock components in advance
-o filename
Single output file
-p path
Path to ASN.1 Files
-q Taxonomy lookup
-r Remote Fetching from ID
-u Recurse
-v N Verbosity:
1 Standard report (default)
2 Accession / severity / code (space delimited)
3 Accession / severity / code (tab delimited)
4 XML report
5 Accession / GI / severity / code (tab delimited)
-x str File selection substring (.ent by default)
AUTHOR
The National Center for Biotechnology Information.
SEE ALSO asndisc(1), cleanasn(1), sequin(1).
NCBI 2012-06-24 ASNVAL(1)