Rappsilber-Laboratory / xiview

GNU General Public License v2.0
4 stars 1 forks source link

Data compatibility for XiView #565

Closed owenran closed 6 hours ago

owenran commented 5 days ago

I am using XiView to visualize a set of crosslinking experiments but am unable to visualize the 2D network(XiNet view). I’ve attached an example of the data I am uploading; WT_NDC80_DSSO_MQ_xiView_NoRepeat.csv and FASTA file(unable to attach).

When uploaded to XiView, I do see the circular contact map: Xi_View_Circular &

XiView_XiNetView_Null

but am unable to visualize the 2D network.

Additionally, I’ve attempted uploading the data into XiNet directly(using the example documents to format my .csv file), but receive an error:

XiNet_error

Any assistance or direction you can provide would be greatly appreciated.

colin-combe commented 5 days ago

Hi, there is something wrong with the circle view you are seeing, also in the first screenshot i can see the sequence is missing for the protein WT, and in the the xiNET error message it is saying that it failed to find a sequence in a FASTA file.

So, i think the id's don't match up between the CSV and FASTA.

If you rename the FASTA file so the file extension is .txt then you should be able to upload it here. If you do that, then I'll take a look at the problem.

cheers, Colin

owenran commented 5 days ago

Hi Colin, Thanks for checking this out, I've attached the FASTA file as a .txt.

If it's naming convention or unallowed characters, I can go through the data and simplify the protein names/titles.

Best, Randy WT_NDC80_DSSO.txt

colin-combe commented 4 days ago

Hi Randy,

xiVIEW has a problem with the new lines between the '>' line and the line containing the sequence. I think it's technically allowed to have FASTA files like this, but the current version of xiVIEW doesn't like it.

I think if you edit the fasta file so it's like WT_NDC80_DSSO.txt then it will work.

Also, if you go to the 'DISPLAY' dropdown menu in top bar and uncheck 'crop at underscore' then you will be able to see the protein names properly.

Let me know if other you have any other problems, cheers, Colin

owenran commented 4 days ago

Hi Colin,

I made the changes you suggested, but now I am getting an error message ( Screenshot 2024-06-27 at 12 04 26 PM), which, if I click the link at the bottom ("Try loading data only"), I see this screen ( Screenshot 2024-06-27 at 12 04 32 PM)

Additionally, if I exit out of the error message the only visualization I see is Screenshot 2024-06-27 at 12 08 12 PM without the linear/2D XiNet view.

I also tried deleting all the spaces between sequences in the FASTA file, to the same result.

However, the 'crop at underscore' option worked great! Thank you.

Best, Randy

colin-combe commented 3 days ago

hmmm, for me it worked. Screenshot from 2024-06-27 20-08-50

does this link work for you? : https://xiview.org/network.php?upload=28023-02488-29466-99123-63020 if not, what browser are you using?

if that link does work, you should be ok. You need to upload the data again, and then the page that leads to should work?

if not, is it the exact files above you tried to upload?

owenran commented 3 days ago

Hey Colin,

I don't know how you did it, but when I downloaded the same files as above, it worked. Additionally, when I clicked the link, it worked.

I am using Vivaldi (Chromium based) on a Mac.

I thought it may have something to do with how I was processing the FASTA files, because I was generating them in the default TextEdit software on Apple computers, which outputs a text file as a .rtf, not plain .txt, which I then converted to FASTA files in Terminal. I went back, recreated the FASTA files by first creating plain .txt files (instead of .rtf), then converted to .FASTA files and suddenly it worked.

Thank you immensely!

Best, Randy

colin-combe commented 6 hours ago

(yes, the fasta file will need to be plain text not rtf)