Sponsored Content
Full Discussion: Snps annotation
Top Forums UNIX for Beginners Questions & Answers Snps annotation Post 302990593 by Don Cragun on Sunday 29th of January 2017 02:16:32 AM
Old 01-29-2017
I thought my questions were clear. Let me try one more time:

for #3: Show us the exact text that you typed as a command to the /bin/bash shell running in the terminal terminal emulator running on your "mac" to which it responded:
Quote:
Code:
 after for(i = 1; i <= k; i++) it lists all my files in the directory

awk: cmd. line:12: >= $5 && POS[i] <= $6)
awk: cmd. line:12: ^ syntax error
awk: cmd. line:12: >= $5 && POS[i] <= $6)
awk: cmd. line:12:                      ^ syntax error
awk: cmd. line:13: t $1, ID[i], $3, POS[i], $5, $6
awk: cmd. line:13:     ^ syntax error
awk: cmd. line:13: t $1, ID[i], $3, POS[i], $5, $6
awk: cmd. line:13:            ^ syntax error
awk: cmd. line:13: t $1, ID[i], $3, POS[i], $5, $6
awk: cmd. line:13:                        ^ syntax error

and for #4: We have to assume that you saved the text of the awk script I gave you in post #4 in this thread in a file on your system. Show us the output you get from the command:
Code:
od -bc < filename

where you replace filename with the name of the file in which you saved the awk script I gave you in post #4 in this thread.
 

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to average value if they have the same annotation names?

Hi I have a file like this input_fileCR387793 -0.8 CR387793 -5.5 CR387794 -5.3 CR387795 -0.9 AR388755 -3.0 AR388755 3.8 AR388755 4.5 Each line has annotation name and its correlated value. The annotation name and the value are seperated by a space. I want to average the value if the lines... (4 Replies)
Discussion started by: yuejian
4 Replies

2. UNIX for Advanced & Expert Users

Map snps into a ref gene file

I have the following data set about the snps ID txt file POS ID 78599583 rs987435 33395779 rs345783 189807684 rs955894 33907909 rs6088791 75664046 rs11180435 218890658 rs17571465 127630276 rs17011450 90919465 rs6919430 and a gene... (7 Replies)
Discussion started by: marwah
7 Replies
All times are GMT -4. The time now is 12:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy