{"author_name":"Jennifer Hillman-Jackson, Garima Singh","author_url":"https://galaxy.training","description":"The full error is usually a longer message seen only after clicking on the bug icon or by reviewing the job details `stderr`.  How to do both is covered in the Troubleshooting errors [FAQ]({% link faqs/galaxy/analysis_troubleshooting.md %}).   stderr ... Many lines of text, may include parameters ... ... ValueError: invalid literal for int() with base 10: some-sequence-read-name   - Causes:     - MACS2 produces this error the first time it is run. MACS is not the only tool that can produce this issue, but it is the most common. - Solutions:     - Try at least one rerun.     - MACS/2 is not capable of interpreting sequence read names with spaces included. Try following these two:         - Remove unmapped reads from the SAM dataset. There are several filtering tools in the groups **SAMTools** and **Picard** that can do this.         - Convert the SAM input to BAM format with the tool **SAMtools: SAM-to-BAM**. When compressed input is given to MACS, the spaces are no longer an issue. ","height":400,"html":"<iframe width=\"560\" height=\"400\" scrolling=\"yes\" sandbox=\"allow-same-origin allow-scripts\" title=\"FAQ: Understanding ValueError error messages\" src=\"https://training.galaxyproject.org/training-material/faqs/galaxy/troubleshooting_value_error.html?utm_source=galaxy-help&utm_medium=oembed&utm_campaign=oembed\" frameborder=\"0\" allowfullscreen></iframe>","provider_name":"Galaxy Training Network (GTN)","provider_url":"https://galaxy.training","thumbnail_height":400,"thumbnail_url":"https://training.galaxyproject.org/training-material/assets/images/GTNLogo1000.png","thumbnail_width":560,"title":"FAQ: Understanding ValueError error messages","type":"video","version":"1.0","width":560}
