ASN2ASN(1) NCBI Tools User's Manual ASN2ASN(1)NAME
asn2asn - convert NCBI data between text and binary ASN.1
SYNOPSIS
asn2asn [-] [-b] [-e] [-i filename] [-l filename] [-o filename] [-s] [-x]
DESCRIPTION
asn2asn converts data in NCBI's ASN.1 format between binary and text subformats, or to isomorphic XML.
OPTIONS
A summary of options is included below.
- Print usage message
-b Input asnfile in binary mode
-e Input is a Seq-entry
-i filename
Read input from filename rather than stdin
-l filename
Log errors to filename
-o filename
Write output to filename rather than stdout
-s Output asnfile in binary mode
-x Output XML instead of ASN.1
AUTHOR
The National Center for Biotechnology Information.
SEE ALSO asn2ff(1), asn2gb(1), asn2xml(1), asndhuff(1)NCBI 2002-08-30 ASN2ASN(1)
Check Out this Related Man Page
ASN2FF(1) NCBI Tools User's Manual ASN2FF(1)NAME
asn2ff - convert ASN.1 biological data to a flat format (old version)
SYNOPSIS
asn2ff [-] [-A X] [-B X] [-C] [-G] [-L F] [-M] [-R] [-V F] [-a filename] [-b] [-d] [-e] [-f b/p/e/s/x/z] [-g] [-h F] [-k F] [-l filename]
[-m r/d/s/c/k/l/e/p] [-n F] [-o filename] [-p F] [-q] [-r filename] [-s] [-t] [-v F] [-w] [-y] [-z]
DESCRIPTION
asn2ff converts descriptions of biological sequences from NCBI's ASN.1 format to one of several flat-file formats. This program is built
around a deprecated interface; please use asn2gb(1) instead.
OPTIONS
A summary of options is included below.
- Print usage message
-A X Show region starting at X (default is 0)
-B X Show region ending at X (default is last position)
-C Show Bankit comments
-G Output is one top bioseq only in genome view
-L F Use old (pre-Genbank 127.0) LOCUS line format
-M Output is map bioseqs only
-R For GenBank Release
-V F Don't use VERSION
-a filename
Filename for ASN.1 input (default is stdin)
-b Input asnfile in binary mode
-d Use SeqMgr indexing
-e Input is a Seq-entry
-f b/p/e/s/x/z
Output Format:
b GenBank (default)
p GenPept
e EMBL
s PseudoEMBL
x GenBankSelect
z EMBLPEPT
-g Show gi numbers
-h F Hide sequence
-k F Don't use complex sets (phy-set,mut-set, pop-set)
-l filename
Log errors to filename
-m r/d/s/c/k/l/e/p
Output mode:
r release (default)
d dump
s Sequin
c Chromoscope
k dir-sub-debug
l dir-sub
e revise
p partial report
-n F Strict gene_binding
-o filename
Output Filename (default is stdout)
-p F Omit new gene features
-q Output is one top bioseq only
-r filename
Output error logfile (default is stderr)
-s Input is a Seq-submit
-t Show verbose message text
-v F Suppress error messages
-w Use HTML output format
-y Print help format only
-z New algorithm for orgnames
AUTHOR
The National Center for Biotechnology Information.
SEE ALSO asn2all(1), asn2asn(1), asn2fsa(1), asn2gb(1), asn2xml(1), asndhuff(1).
NCBI 2005-05-16 ASN2FF(1)
permission of a filename.sh is -rwxr-xr-x
./filename.sh -> command not found
sh filename.sh -> then success...
why is that so?
i suspect is the -rwxr-xr-x (5 Replies)
Greetings to all,
I would like to read input from a file and make duplications from it with Linux shell.
For e.g.
Input file
-----------
ABC
ABB
ABA
-------------------------------
Output file
------------
ABC
ABC
ABC
ABB
ABB (6 Replies)
I have a script which includes an FTP. The filename is too long for my target area. The filename is HD012_ABCD_EFGH_061004_F_300_40. I need to the filename to be HD012_ABCD_EFGH_061004_F_. Any ideas. (5 Replies)
Hi all,
I have a print control file (dflt) for Oracle which is in binary. As I am going to develope an application in Window environment, I would like to reference the dflt file. But it is in binary format and I cannot access it. Anyone can suggest me how to convert the file into text or... (5 Replies)
Hi All,
I'm trying to run a simple shell program to change all the files named *.cvs to *.txt. I am trying to use WHILE and this is what I have so far:
This changes the first file from *.cvs to *.txt, but it is not cycling through the other files.
My suspicion is that I don't have the... (5 Replies)
Hi all,
I am trying to write a script that will delete a certain amount of text from the end of a filename.
For example.
Input:
name of file (more text).pdf
Output:
name of file.pdf
So is it possible to write a script the deletes, in this example twelve (12) digits from the end... (6 Replies)
Hi
Suppose I have a variable called filename and it it contains the name of a file. I then would like to append an extension to that filename. The filename currently has no extensions.
How do I do this?
Thanks (11 Replies)
Hi I am using the following to get the filename
ls -lrt filename* | tail -1 | awk {'print$9'}
o/p : filename-20101117
want to extract 20101117 from the filename ..
Pls advise (8 Replies)
Is there an easy way to strip off a filename's extension?
For example, here's a filename:
blahblahblah.thisisok.thisisnotok
I want to get rid of .thisisnotok from the filename, so that what's left is
blahblahblah.thisisok
Thanks. I have a directory full of filenames that need to be... (5 Replies)
I am trying to parse a file but the filehas binary data inline mixed with text fields.
I tried the binutils strings function , it get the binary data out but put the char following the binary data in a new line .
input file
app_id:1936 pgm_num:0 branch:TBNY ord_num:0500012(–QMK) deal_num:0... (12 Replies)
Kindly help i need to write a code for Decode/Compile the ASN.1 which is found in javascript or C language if any got a final working Code:D (16 Replies)
I have a binary file with all content is text, i want convert this binary to a regular file because i want to parse it.
Thx.
---------- Post updated at 05:01 AM ---------- Previous update was at 04:34 AM ----------
I have found the solution
cat file | tr -d '\0' (8 Replies)