Sponsored Content
Top Forums Shell Programming and Scripting 1 command line gunzip -c get 3 output. Post 302940027 by vgersh99 on Tuesday 31st of March 2015 06:09:40 PM
Old 03-31-2015
what's the output of your gunzip -c $Dtran?
A sufficient/representative dozen lines posted using code tags, please.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Command output on ONE line

We want to make a history of errors and append a line to a file each day. To do this we want to display the output of Date and DU (of 1 file) on ONE line. However if i type Date ; DU the output is displayed on two lines. Can Anyone help me please? The output should look like this; ... (1 Reply)
Discussion started by: Robey
1 Replies

2. Shell Programming and Scripting

reading ps command's output line by line

hi; as a pseudo; while read psLine do myFunc $psLine done < ps i don't want to redirect ps command's to a file. in fact, my problem is "how can i read stdout line by line in bash, sed, awk or any?" thanks, (5 Replies)
Discussion started by: s. murat
5 Replies

3. Shell Programming and Scripting

Bash - Loading a command's output line by line into an array

I have been trying this a lot of different ways and haven't found too much online. Here's what I've got so far: j=0 declare -a first zero=(`cat $tmpfile`) for i in "${zero}" do command $i >> "${first}" ... (4 Replies)
Discussion started by: Azrael
4 Replies

4. Shell Programming and Scripting

Can we get output on ls | wc -l command on the same line?

can we get o/p of ls | wc - l command on the same line. # ls nc*010412* | wc -l 23 # ls nc*010412* | wc -l 24 # ls nc*050412* | wc -l 21 # ls nc*040412* | wc -l 23 # ls nc*070412* | wc -l 22 my expectation is grepping specific lines from the file and... (8 Replies)
Discussion started by: sagar_1986
8 Replies

5. UNIX for Dummies Questions & Answers

command for gunzip?

Hi All This is very basic query but I have a huge folder named backup that I need to transfer. What is the command to convert the file in format backup.tar.gz so that I could transfer the folder. Is the command gzip filename? Thanks Sonia. :wall: (6 Replies)
Discussion started by: sonia102
6 Replies

6. UNIX for Dummies Questions & Answers

Gunzip and tar command

Hi I wanted to tar and gunzip a file named backup tar: backup.tar: Wrote only 2244 of 10240 bytes tar: Error is not recoverable: exiting now Please tell me what I am doing wrong? Please do help. (4 Replies)
Discussion started by: sonia102
4 Replies

7. Shell Programming and Scripting

sed command to replace a line in a file using line number from the output of a pipe.

Sed command to replace a line in a file using line number from the output of a pipe. Is it possible to replace a whole line piped from someother command into a file at paritcular line... here is some basic execution flow.. the line number is 412 lineNo=412 Now i have a line... (1 Reply)
Discussion started by: vivek d r
1 Replies

8. Shell Programming and Scripting

How to execute a command on each line of output from another command?

Hello :) new to bash not to programming. I have an on-going need to change the owning group on sets of files and directories from the one they were created with or changed to on update to the one they need to have going forward. find {target_root} -group wrong_group gets me a newline... (4 Replies)
Discussion started by: naftali
4 Replies

9. Shell Programming and Scripting

How to read the output of a command line by line and pass it as a variable?

Hi, I have some 2000 names in a table like below. Java Oracle/SQL ANSI SQL SQL,DWH,DB DB&Java And by using for loop in my code i am able to get a single word but if there is any special character or space then it is considering as a next line. I have to execute the below queries in... (10 Replies)
Discussion started by: Samah
10 Replies
ASN2ALL(1)						     NCBI Tools User's Manual							ASN2ALL(1)

NAME
asn2all - generate reports from ASN.1 biological data SYNOPSIS
asn2all [-] [-A acc] [-F filename] [-G] [-J n] [-K n] [-M] [-T] [-X] [-a type] [-b] [-c] [-d path] [-f format] [-h] [-i filename] [-k] [-l] [-n policy] [-o filename] [-p path] [-r] [-v filename] [-x ext] DESCRIPTION
asn2all is primarily intended for generating reports from the binary ASN.1 Bioseq-set release files downloaded from the NCBI ftp site (ncbi-asn1 directory). It can produce GenBank and GenPept flatfiles, FASTA sequence files, INSDSet structured XML, TinySeq XML, and Sequin-style 5-column feature tables. The release files (which have the extension .aso.gz) should be uncompressed with gunzip(1), resulting in files with the extension .aso. For example, gbpri1.aso is the first file in the primate division, and the command gunzip gbpri1.aso.gz will result in gbpri1.aso being created. The original gbpri1.aso.gz file is removed after successful decompression. In asn2all, the name of the file to be processed is specified by the -i command line argument. Use -a t to indicate that it is a release file and -b to indicate that it is binary ASN.1. A text ASN.1 file obtained from Entrez can be processed by using -a a instead of -a t -b. Nucleotide and protein records can be processed simultaneously. Use the -o argument to indicate the nucleotide output file, and the -v argument for the protein output file. The -f argument determines the format to be generated, and is documented in more detail (along with other options) in the following sec- tion. OPTIONS
A summary of options is included below. - Print usage message -A accession Accession to fetch; may take the form accession,complexity,flags where complexity should normally be 0 and a flags value of -1 enables fetching of external features -F filename Accession Filter file -G Relaxed Genome Mapping -J n Seq-loc from -K n Seq-loc to -M Seq-loc Minus strand -T Use Threads -X EXtended qualifier output -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 processing (suitable for official releases; autodetects specific type) -b Bioseq-set is Binary -c Bioseq-set is Compressed -d path Path to indexed binary ASN.1 Data -f format Output Format: g GenBank/GenPept (default) m GenBank Master Style f FASTA d CDS FASTA e Gene FASTA t Sequin-style 5-column feature table y TinySet XML (akin to FASTA) s INSDSet XML (akin to GenBank/GenPept) a structurally equivalent text ASN.1 x structurally equivalent XML c cache components -h Display extra Help message -i filename Input file name (standard input by default) -k Enable local fetching -l Lock components in advance -n policy Near FASTA policy: a All n Near only (default) f Far only -o filename Nucleotide Output file name -p path Path to files -r Enable Remote fetching -v filename Protein output file name -x ext File selection suffix when working with entire directories. (default is .aso) EXAMPLES
The command asn2all -i gbpri1.aso -a t -b -f g -o gbpri1.nuc -v gbpri1.prt will generate GenBank and GenPept reports from gbpri1.aso. AUTHOR
The National Center for Biotechnology Information. SEE ALSO
asn2asn(1), asn2ff(1), asn2fsa(1), asn2gb(1), asn2idx(1), asn2xml(1), asndhuff(1), gene2xml(1), gunzip(1). NCBI
2012-06-24 ASN2ALL(1)
All times are GMT -4. The time now is 10:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy