-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REVIGO.csv file could not be converted by CirGO #3
Comments
I've modified csv file conversion code for compatibility with REVIGO but I do not know whether it broke compatibility with other platforms. Fork |
I installed CirGO on a Mac running Catalina, and I got the GUI to run but I cannot get it to convert the CSV file. I tried to use your sample file Example_REVIGO_Input_BP and that won't work either. I am attaching the version that I am trying to convert. |
We also tried the same thing on a different Mac with a different OS, and had exactly the same problems Cirgo won't run and the error message states that the file can't be converted. |
@nathanerank Your file appears to be pdf, not csv. If you are working from Excel, you can save your .xlsx spreadsheet file as a comma separated file. |
I was unable to load the csv onto this page. My files are csv files, not PDF. In fact, I just checked again and GitHub won't allow me to include the csv. But I can try pasting it. cell surface receptor signaling pathway,5.344, null |
Rownames are missing in your csv. Rownames should match the example. |
Hello, I am having the same issue. I am running CirGO on MacOS High Sierra. GUI version loads successfully. A .csv file was obtained from Revigo tree map tab and an automatically generated file name confirms that too. When I click on visualize I get an error "File could not be converted. Please check the file format and it's content!" My input file have 146 rows and 7 columns named : "TermID | Name | Frequency | Value | Uniqueness | Dispensability | Representative". I even used example file "Example_REVIGO_Input_BP.csv" and it gave me the same error. Was anyone above able to solve this issue? Thank you! |
Command Line option is also giving a similar error:
|
Can you please check that your Python version is 3.7+ in your environment. Below is the command to check: Also, please check input file format. If you open your input file with Notepad, does it look similar to this?
|
Dear @IrinaVKuznetsova, please refresh your CirGoFileConversion.py according to the current format of comment lines in the Revigo csv file, the comment lines start with # sign, not with %. line 68: # skip eventual comment lines that are contained inside the csv file line 69: if not row[0].startswith("%"): Best regards |
@Ruiqi-CUB, just download the TSV and use it as the input. |
The latest revigo uses tab splitting, so the converted script CirGoFileConversion.py, line 56, InputFileReader = CSV. Reader (InputFile, Delimiter =',') should be modified to InputFileReader = CSV. Reader (InputFile, Delimiter =' \ t'). |
At the same time, the 60th line while (x[0].startswith("% ")): |
Apparently REVIGO has changed format of the file that is obtained by pressing Export results to text table (CSV) in the web interface. Colum
representative
in revigo.csv file now lists GO ids instead of of textual descriptions of the ontology categories.CirGO Gui returns error "File could not be converted. Please check if the file exists and if the file format is correct!" when fed with a revigo.csv file. Here is the file REVIGO file example
The text was updated successfully, but these errors were encountered: