-
Notifications
You must be signed in to change notification settings - Fork 24
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
Broken pipe with samtools sort and multiple selects #92
Comments
While trying to workaround the problem above I ran into a different issue but the error above may be related to the same problem. Using:
I got:
|
It's actually not related to large BAM files at all, it's just a corner case that doesn't happen that frequently (something like 1 out of 50,000 sequences) |
In the case of the broken pipe above, is there any way that ngless can still capture and display the error? Thanks for the fix. |
Many small fixes rather than any large new features. Full ChangeLog: * Fix to lock1's return value when used with paths (#68 - reopen) * Support _F/_R suffixes for forward/reverse in load_mocat_sample * samtools_sort() now accepts by={name} to sort by read name * Fixed bug where header was printed even when STDOUT was used * Fixed bug where writing interleaved FastQ to STDOUT did not work as expected * Indices created by bwa and minimap2 are now versioned * arg1 in external modules is no longer always treated as a path * Added expand_searchpath to external modules API (closes #56) * Fixed bug where detection of Fastq encoding was not performed on the second pair * Fix saving fastq sets with --subsample (issue #85) * Add __extra_megahit_args to assemble() (issue #86) * Better error message when user mis-specifies the ngless version string (issue #84) * Support NO_COLOR environment variable (issue #83) * Garbage collection for temporary files (issue #79) * Rename --search-dir to --search-path for consistency with other API * Fix corner case with select() producing incorrect CIGAR strings (#92) * Always check output file writability (#91) * Make paired() accept encoding argument
A collection of several bugfixes and performance improvements over the last few months. Full ChangeLog: * Switch to diagrams package for plotting * Update minimap2 version to 2.14 * Module samtools (version 0.1) now includes samtools_view * Update to LTS-13 (GHC 8.6) * Fix bug with orf_find & prots_out argument * Call bwa/minimap2 with interleaved fastq files * Add --verbose flag to check-install mode * Avoid leaving open file descriptors after FastQ encoding detection * Fix bug in garbage collection * Compress intermediate SAM files (#22) * Tar extraction uses much less memory (#77) * Add early checks for input files in more situations (#33) * Support compression in collect() output (#42) * Fix CIGAR (#92) for select() blocks
A collection of several bugfixes and performance improvements over the last few months. Full ChangeLog: * Switch to diagrams package for plotting * Update minimap2 version to 2.14 * Module samtools (version 0.1) now includes samtools_view * Fix bug with orf_find & prots_out argument * Call bwa/minimap2 with interleaved fastq files * Add --verbose flag to check-install mode * Avoid leaving open file descriptors after FastQ encoding detection * Fix bug in garbage collection * Compress intermediate SAM files (#22) * Tar extraction uses much less memory (#77) * Add early checks for input files in more situations (#33) * Support compression in collect() output (#42) * Fix CIGAR (#92) for select() blocks * Update to LTS-13 (GHC 8.6)
Current master dc769d7 fails with:
when using:
and a sufficiently large
input.bam
file.I tried reproducing this with the
.bam
files we have in the repository but none was big enough to trigger the broken pipe.I managed to reproduce it locally with a 13MB bam file generated with:
The text was updated successfully, but these errors were encountered: