Search Results

Search: Posts Made By: Sanchari
7,012
Posted By Sanchari
Hello, Thanks for the reply. With the above code,...
Hello, Thanks for the reply. With the above code, only the last line of the pattern file got printed. Can you kindly check?






chr1 1000 2000 chr1 12000 13000 5 281 ...
7,012
Posted By Sanchari
Pattern matching using awk from a file
Hello, I have a very large file (DB_file.txt) with coordinate positions, example:


example for the DB_file.txt


chr1 1000 2000 chr1 10000 11000 3 281 0 ...
9,206
Posted By Sanchari
UNIX command to select the best edge values from a network file
I have a tab-delimited data representing network data (undirected). Among the duplicated edges, I wanted to select those edges for which I have the higher absolute value of the log values.
I have...
962
Posted By Sanchari
Help with processing coordinates in a file.
I have a variation table (variation.txt) which is a very big file. The first column in the chromosome number and the second column is the position of the variation. I have a second file...
1,043
Posted By Sanchari
python - Comparing two network edge lists - Stack...
python - Comparing two network edge lists - Stack Overflow (https://stackoverflow.com/questions/51665542/comparing-two-network-edge-lists)
1,043
Posted By Sanchari
I am just asking for help so that I can process...
I am just asking for help so that I can process my data faster. Efforts were did put in, but not using shell, but thanks for your interest to point things out
1,043
Posted By Sanchari
Well, no body posted any answers in that. I did...
Well, no body posted any answers in that. I did using Python.
1,043
Posted By Sanchari
Comparing a bigger network file with a smaller one
Hello, I have two edgelists. One bigger list master.txt and a subset of that, child.txt. I want to print out all the edges in master.txt which is not there in child.txt. I have done it the Python...
941
Posted By Sanchari
Comparing two edge list
Hello,

I have two network edgelists with first two columns as nodes and the last column pearson correlation coefficient (PCC). I want to remove the edges from net1 whose edges are common with net2...
1,633
Posted By Sanchari
Finding common entries between 10 columns
Hello, I need to find the intersection across 10 columns. Kindly help.

my file (INPUT.csv) looks like this
4_R 4_S 8_R 8_S 12_R 12_S 24_R ...
1,741
Posted By Sanchari
Comparing multiple network files (edge lists)
I want to compare 4 edge-lists to basically see if an edge is present in all 4 networks. The issue is that an edge A-B in one file can be present as B-A in another file.

Example:

Input 1: ...
3,385
Posted By Sanchari
Hi, I was using your second program, wanted to...
Hi, I was using your second program, wanted to know how to run this program using a script? Just saving in a .sh file would work ?
3,385
Posted By Sanchari
Average values of duplicate rows
I have this file input.txt. I want to take average column-wise for the rows having duplicate gene names.


Gene Sample_1 Sample_2 Sample_3
gene_A 2 4 5
gene_B 1 2 3
gene_A 0 5 7
gene_B 4 5 6...
1,243
Posted By Sanchari
Actually File2 is getting printed and not File1...
Actually File2 is getting printed and not File1 with this code. Its my mistake that I did not mention the file names properly..have corrected it now. I want the final result to be appended to...
1,243
Posted By Sanchari
File comparing and appending based on fields
I want to compare 2 files, locus_file.txt is a very large file and attr.txt is a small file. I want to match the first 2 columns of the first file to the second column of attr.txt and print the...
1,223
Posted By Sanchari
Removing duplicate entries from edge-lists
I have a file which has connections given as:



A B 0.1
B C 5.8
C B 5.8
E F 0.67
B A 0.1


A B and B A are same, so I want to remove one of them. Same with BC and CB.
Desired output:
...
1,257
Posted By Sanchari
Thanks, yea I am considering CA and AC as...
Thanks, yea I am considering CA and AC as duplicates
1,257
Posted By Sanchari
Dealing with edge-list
I have an edge-list with nodes, edge.txt

A B
B J
J H
C A
G H
G A
A C
K G



I have another file which tells me which of these nodes are important, input.txt


G
C
A
1,695
Posted By Sanchari
Choosing rows based on column values
I have a .csv file:

A,B,0.6
C,D,-0.7
D,E,0.1
A,E,0.45
D,G, -0.4
I want to select rows based on the values of the 3rd columns such that it is >=0.5 or <= -0.5
Thanks.

A,B,0.6
D,G, -0.7
1,236
Posted By Sanchari
Thanks, is it possible to redirect the output in...
Thanks, is it possible to redirect the output in a csv format as well ?

like A,B,0.04 ?
1,236
Posted By Sanchari
Remove columns with duplicate entries
I have a 13gb file. It has the following columns:
The 3rd column is basically correlation values. I want to delete those rows which are repeated between the columns:

A B 0.04
B C 0.56
B B 1
A...
1,129
Posted By Sanchari
Shell script to retrieve first degree neighbors
I have a file with two columns and each pair in the rows denote 2 connected nodes in the network file, edge_list.txt. Given a query file, input.txt, I want to retrieve the nodes that are directly...
1,516
Posted By Sanchari
Append values of duplicate entries
My input file is:



LOC_Os01g01870 GO:0006139
LOC_Os01g01870 GO:0009058
LOC_Os01g02570 GO:0006464
LOC_Os01g02570 GO:0009987
LOC_Os01g02570 GO:0008152
LOC_Os01g04380 ...
1,809
Posted By Sanchari
Using shell script to compare files and retrieve connections
Hello,
I want to use shell script to generate network files (I tried with python but its taking too long).

I have a list of nodes:
node.txt

LOC_Os11g37970
LOC_Os01g07760
LOC_Os03g19480...
1,974
Posted By Sanchari
Printing rows based on column range
Hello, I have a file with nearly 57K lines. I want to filter the lines based on the range of values in a column. For e.g. print lines whose 3rd filed is >=0.02.
Input file:

LOC_Os09g32030 ...
Showing results 1 to 25 of 27

 
All times are GMT -4. The time now is 08:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy