Commit ef0b40d
Partially recognise bzip2-compressed data
We currently don't do anything with such data, and unfortunately we
can't peek at the contents. But we can print "Unknown bzip2-compressed
data" rather than "Unknown data" for e.g. bzip2-ed FASTQ files, which
have been seen in the wild.
Also for gzip compression: set compression_level according to XFL
when CM is DEFLATE (BGZF does not set XFL, but plain gzip does).1 parent 46843e5 commit ef0b40d
2 files changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
219 | 222 | | |
220 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
221 | 236 | | |
222 | 237 | | |
223 | 238 | | |
| |||
342 | 357 | | |
343 | 358 | | |
344 | 359 | | |
| 360 | + | |
345 | 361 | | |
346 | 362 | | |
347 | 363 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
0 commit comments