Skip to content
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

Download link not displayed for MACS2 tabular output file #868

Closed
hackdna opened this issue Feb 4, 2016 · 13 comments
Closed

Download link not displayed for MACS2 tabular output file #868

hackdna opened this issue Feb 4, 2016 · 13 comments

Comments

@hackdna
Copy link
Member

hackdna commented Feb 4, 2016

Commit f48b57f.

Steps to reproduce

Run a MACS2 workflow

Observed results

  • Download links are displayed for 'MACS2_plot' and 'MACS2_bigwig' output files but not for 'MACS2_bed' file.
  • The 'MACS2_bed' output file is successfully downloaded from Galaxy and exists on disk but has the type of <FileType: DAT file>.

Expected results

  • Download links should be displayed for all successfully downloaded workflow outputs.
  • The 'MACS2_bed' output file should have the type of <FileType: BED file> or <FileType: Tabular file>.

Notes

This may be due to the change of output file format in the latest version of MACS2 from 'bed' to 'tabular'.

@hackdna
Copy link
Member Author

hackdna commented Feb 4, 2016

screenshot 2016-02-04 14 56 55

@ngehlenborg
Copy link
Contributor

@scottx611x: Do you have any spare cycles to look into this?

@scottx611x
Copy link
Member

@ngehlenborg Definitely, I'll check it out today!

@scottx611x
Copy link
Member

This issue will most likely be addressed with PR #908 but needs to be tested

@hackdna
Copy link
Member Author

hackdna commented Mar 4, 2016

Still a problem in commit 0b896f6:

2016-03-04 15:35:59 WARNING  file_store:237 get_item() - FileStoreItem with UUID 'None' does not exist
2016-03-04 15:35:59 WARNING  data_set_manager.search_indexes:141 prepare() - Unable to get file store item None. No file type available.
2016-03-04 15:35:59 INFO     data_set_manager.utils:502 _index_annotated_nodes() - 3 nodes indexed in 0.237416028976
2016-03-04 15:35:59 DEBUG    core.models:1189 rename_results() - Renaming analysis results
2016-03-04 15:35:59 DEBUG    file_store:469 rename_datafile() - Renaming datafile 7d/3f/display to 1_MACS2_bed.tabular
2016-03-04 15:35:59 DEBUG    file_store:712 _rename_file_on_disk() - Renamed /data/media/file_store/7d/3f/display to /data/media/file_store/9c/bd/1_MACS2_bed.tabular
2016-03-04 15:35:59 INFO     file_store:484 rename_datafile() - Datafile renamed
2016-03-04 15:35:59 DEBUG    file_store:469 rename_datafile() - Renaming datafile 7d/3f/display_U6pBI13 to 1_MACS2_plot.pdf
2016-03-04 15:35:59 DEBUG    file_store:712 _rename_file_on_disk() - Renamed /data/media/file_store/7d/3f/display_U6pBI13 to /data/media/file_store/38/6e/1_MACS2_plot.pdf
2016-03-04 15:35:59 INFO     file_store:484 rename_datafile() - Datafile renamed
2016-03-04 15:35:59 DEBUG    file_store:469 rename_datafile() - Renaming datafile 7d/3f/display_lKoev0u to 1_MACS2_bigwig.bigwig
2016-03-04 15:35:59 DEBUG    file_store:712 _rename_file_on_disk() - Renamed /data/media/file_store/7d/3f/display_lKoev0u to /data/media/file_store/56/fc/1_MACS2_bigwig.bigwig
2016-03-04 15:35:59 INFO     file_store:484 rename_datafile() - Datafile renamed

@hackdna hackdna reopened this Mar 4, 2016
@scottx611x
Copy link
Member

@hackdna I'm not seeing an issue with the output that you've commented. Is there something I'm not seeing?

@hackdna
Copy link
Member Author

hackdna commented Mar 4, 2016

This is simply part of the log that might be relevant to the error.

@ngehlenborg ngehlenborg modified the milestones: Palmer, Quincy Mar 8, 2016
@hackdna hackdna added this to the Randolph milestone Mar 31, 2016
@hackdna hackdna removed this from the Quincy milestone Mar 31, 2016
@scottx611x
Copy link
Member

This issue actually stems from the MACS2 tool annotations. Changing the annotations like shown below addresses the issue.

Original:

{
    "output_tabular": {
--      "name": "MACS2_bed",
        "description": "",
--      "type": "bed"
    },
    "output_plot": {
        "name": "MACS2_plot",
        "description": "",
        "type": "pdf"
    }
}

Edited:

{
    "output_tabular": {
++      "name": "MACS2_tabular",
        "description": "",
++     "type": "tabular"
    },
    "output_plot": {
        "name": "MACS2_plot",
        "description": "",
        "type": "pdf"
    }
}

Working in Refinery:
screen shot 2016-03-31 at 1 35 00 pm

@hackdna
Copy link
Member Author

hackdna commented Mar 31, 2016

OK but this is strange because the output file name is arbitrary. If this is not the case, we should update the wiki.

@scottx611x
Copy link
Member

@hackdna can I close this after updating?

@hackdna
Copy link
Member Author

hackdna commented Mar 31, 2016

I'd like to test this before we close.

@hackdna
Copy link
Member Author

hackdna commented Mar 31, 2016

@ngehlenborg ngehlenborg assigned flekschas and hackdna and unassigned scottx611x and flekschas Apr 12, 2016
@hackdna
Copy link
Member Author

hackdna commented Apr 12, 2016

Successfully tested using commit 657b619 with MACS2 revision 6d4babad010f. Only "type" needs to be changed to "tabular".

@hackdna hackdna closed this as completed Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants