{"action":"created","issue":{"url":"https://api.github.com/repos/amplab/snap/issues/113","repository_url":"https://api.github.com/repos/amplab/snap","labels_url":"https://api.github.com/repos/amplab/snap/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/amplab/snap/issues/113/comments","events_url":"https://api.github.com/repos/amplab/snap/issues/113/events","html_url":"https://github.com/amplab/snap/issues/113","id":314646570,"node_id":"MDU6SXNzdWUzMTQ2NDY1NzA=","number":113,"title":"Snap aligner FASTQ record larger than buffer","user":{"login":"klaas-men","id":35134586,"node_id":"MDQ6VXNlcjM1MTM0NTg2","avatar_url":"https://avatars1.githubusercontent.com/u/35134586?v=4","gravatar_id":"","url":"https://api.github.com/users/klaas-men","html_url":"https://github.com/klaas-men","followers_url":"https://api.github.com/users/klaas-men/followers","following_url":"https://api.github.com/users/klaas-men/following{/other_user}","gists_url":"https://api.github.com/users/klaas-men/gists{/gist_id}","starred_url":"https://api.github.com/users/klaas-men/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klaas-men/subscriptions","organizations_url":"https://api.github.com/users/klaas-men/orgs","repos_url":"https://api.github.com/users/klaas-men/repos","events_url":"https://api.github.com/users/klaas-men/events{/privacy}","received_events_url":"https://api.github.com/users/klaas-men/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-16T13:17:20Z","updated_at":"2018-12-22T01:03:44Z","closed_at":null,"author_association":"NONE","body":"Hi developers of snap,\r\n\r\n### Introduction\r\nI am a bioinformatician that works on Applied-Maths. I really like snap for mapping reads to bacterial genomes! I congratulate you guys on this most outstanding mapper.\r\n\r\n### Problem\r\nI run my mapping jobs on a server. When I submit a job to the server, it gzip's the fastqs for faster transfer. However, when I ran snap on the server, it gave an error on these fastq.gz files: \"FASTQ record larger than buffer size at /../test_2.fastq.gz:4885027\"\r\n\r\nI suppose this error is similar to https://www.biostars.org/p/278787/\r\n\r\n### Solution\r\nWhen I tried to replicate the mapping on my own local linux system I however did not got any errors. In order to to pinpoint the problem, I compared the fastq's on my own system and those on the servers with md5sum and diff and it appeared that my code had removed the newline on the end of the fastq-file before compressing it with gzip and sending it to the server - my bad. When I re-added this newline at the end of the fastq before compressing, the problem was gone.\r\n\r\nI will change my own code, but I also think it might be good for snap that it also accepts fastq.gz-files without a newline on the end of the fastq.\r\n\r\nKeep up the good work!\r\nKlaas Mensaert"},"comment":{"url":"https://api.github.com/repos/amplab/snap/issues/comments/449533068","html_url":"https://github.com/amplab/snap/issues/113#issuecomment-449533068","issue_url":"https://api.github.com/repos/amplab/snap/issues/113","id":449533068,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTUzMzA2OA==","user":{"login":"kevinxchan","id":26309100,"node_id":"MDQ6VXNlcjI2MzA5MTAw","avatar_url":"https://avatars0.githubusercontent.com/u/26309100?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinxchan","html_url":"https://github.com/kevinxchan","followers_url":"https://api.github.com/users/kevinxchan/followers","following_url":"https://api.github.com/users/kevinxchan/following{/other_user}","gists_url":"https://api.github.com/users/kevinxchan/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinxchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinxchan/subscriptions","organizations_url":"https://api.github.com/users/kevinxchan/orgs","repos_url":"https://api.github.com/users/kevinxchan/repos","events_url":"https://api.github.com/users/kevinxchan/events{/privacy}","received_events_url":"https://api.github.com/users/kevinxchan/received_events","type":"User","site_admin":false},"created_at":"2018-12-22T01:03:44Z","updated_at":"2018-12-22T01:03:44Z","author_association":"NONE","body":"Any updates to this? I encounter the same error when I try to align nanopore reads. I'm also using gzipped fastq inputs, and I found some older issues online suggesting to decompress the files first, but the SNAP website says it supports gzipped fastq so I don't think this is the problem. For reference, I am using SNAP 1.0beta.18 for Linux (64-bit), and I get the following error:\r\n\r\n```\r\nLoading index from directory... 0s.  17414383 bases, seed size 22\r\nAligning.\r\nFASTQ record larger than buffer size at /home/kchan/thesis/raw_data/SRR7690687.fastq.gz:8388608\r\nSNAP exited with exit code 1 from line 255 of file SNAPLib/FASTQ.cpp\r\n```"}}
{"actor":{"display_login":"kevinxchan"}}