Cytoscape, cannot delete column
1
1
Entering edit mode
5.1 years ago
boczniak767 ▴ 870

Hi,

I have a problem with deleting columns in one of the networks in Cytoscape file.

Formerly the session file was big, with huge network from which I separated few small. I also used Dynet app to compare the networks and this generated new columns. Then I deleted majority of networks to create smaller file, which I assumed would be smaller on disk and will be loading faster (what wasn't the case but this is unresolved question).

So now I have six networks from which I want to delete some table columns to export whole file to html. For one of the networks there are columns which are un-deletable. It is the case for a subset from other network in which I succeeded in deleting columns. More curiously (and annoying) the unwanted coulmns (reamins from DYnet analysis) shows (and are un-deletable) after recreating the network from original one (which doesn't have this columns).

I thought that I could hide unwanted columns and in html-exported file they doesn't show but it does.

I'd be very grateful for help.

cytoscape • 1.1k views
ADD COMMENT
0
Entering edit mode

Greetings, You don't what version of Cytoscape you are using, which might be helpful. In any case, if you can send me your network, I can quickly tell you what the problem is. The Cytoscape API does allow you to create immutable columns, but I'm not familiar enough with DyNet to know if they do that or not.

-- scooter

ADD REPLY
1
Entering edit mode
5.1 years ago
boczniak767 ▴ 870

Ok, so I managed to do what I needed.

Maybe for someone it would be useful.

In short:

  1. I unpacked the cys file and renamed to zip
  2. In tables subdirectory I searched files with instances of "DAP" (the part of a columns' name, which I wanted to delete) and writeit to file grep -rl 'DAP' > x
  3. I used xargs to delete files with 'DAP' hits xargs -I{} rm -r {} < ~/x

The file is still huge (and in the zip there are many not needed remains of deleted networks) but the troublesome colums disappeared.

ADD COMMENT

Login before adding your answer.

Traffic: 2503 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6