Recent Releases of https://github.com/bede/hostile

https://github.com/bede/hostile - 2.0.1

  • Fixes breaking change introduced by dependency defopt>=7.0.0 (#62, thanks @tnmquann!)
  • Removed GNU Awk (gawk) dependency from Bioconda recipe, since it was causing problems on some Linux machines and provided only minor performance benefit

- Python
Published by bede 12 months ago

https://github.com/bede/hostile - 2.0.0

A major release with faster long read decontamination and support for stdin and stdout for both single and paired reads. Interleaved paired reads are now supported via stdin and stdout. A breaking change has been made to hostile clean: the --out-dir argument has been renamed to --output, and now accepts - to write output to stdout rather than files. Decontamination accuracy is unchanged. Thanks to @jannikseidelQBiC, @dterumalai, @jfy133, @BioWilko, @microbemarsh and @charlesfoster for bug reports and suggestions.

Added

  • Faster long read decontamination due to automatic caching of MMI indexes
  • Support for streaming data input via stdin for both single and interleaved paired FASTQ (#35)
  • Support for streaming data output via stdout for both single and interleaved paired FASTQ
  • Automatic allocation of available cores between alignment and compression tasks
  • Support for Illumina CASAVA 1.8+ read headers (#41)
  • Ability to override remote index repository URL

Changed

  • Fixed bug in inverted mode --invert with paired reads (#42 )
  • --fastq1 and --fastq2 now accept - to read from stdin
  • --out-dir argument of hostile clean renamed to --output (or -o)
    • Now accepts - to write reads to stdout rather than files
  • Reorganised index-related functionality into hostile index subcommands
    • hostile fetch replaced with hostile index fetch
  • --offline renamed to --airplane
  • Improved warnings and error messages
  • Pins Bowtie2>=2.5.4 and Minimap2>=2.28
  • Removed space before /1 and /2 when writing paired FASTQ

- Python
Published by bede over 1 year ago

https://github.com/bede/hostile - 1.1.0

  • Allows cross-platform override of the default index cache directory using the environment variable HOSTILE_CACHE_DIR. Previously, override using XDG_DATA_HOME worked only on Linux. The default continues to be a sensible platform-specific directory determined by the platformdirs library. https://github.com/bede/hostile/issues/32
  • Dockerfile simplification (suggested by @bdklahn). https://github.com/bede/hostile/issues/33
  • Improved usage examples, prompted by @ackia. https://github.com/bede/hostile/issues/34

- Python
Published by bede about 2 years ago

https://github.com/bede/hostile - 1.0.0

  • Automatically download and use any standard index by name. This means you can run e.g. hostile clean --index human-t2t-hla-argos985 --fastq1 reads.fq.gz and Hostile will fetch that index if it hasn't been downloaded previously. Addresses https://github.com/bede/hostile/issues/28
  • Two new standard indexes:
    • human-t2t-hla.rs-viral-202401_ml-phage-202401 (RefSeq viral & Millard Lab phage)
    • human-t2t-hla.argos-bacteria-985_rs-viral-202401_ml-phage-202401 (ARGOS bacteria, RefSeq viral, & Millard Lab phage)
  • Improved masking protocol for custom index creation (hostile mask)
    • Uses minimap2 with modified secondary alignment limit and secondary-to-primary score ratio threshold (-N and -p)
    • k-merises target genome(s) into 150mers with a step of 10bp by default prior to alignment. Adds dnaio dependency
  • New options for hostile clean: --aligner-args, --invert, and --offline
  • Verification of downloaded index checksums in manifest.json (https://github.com/bede/hostile/issues/20)
  • Adds version, aligner and options fields to log output
  • Bugfix: when 0 reads remain after decontamination, the resulting empty fastq.gz files are no longer corrupted (https://github.com/bede/hostile/issues/24).
  • Disable potentially surprising fallback to Minimap2 if an error is encountered running Bowtie2
  • Symlinked FASTQ paths are followed but no longer resolved
  • Links to published article

- Python
Published by bede over 2 years ago

https://github.com/bede/hostile - 0.4.0

  • Adds hostile fetch subcommand for viewing and downloading prebuilt references. Readme updated.
  • Hostile now automatically chooses a near-ideal number of alignment threads given available CPU count
  • Changes optional --sort-by-name argument introduced in 0.3.0 to --reorder, providing deterministic read order without necessarily sorting
  • On platforms other than MacOS (where it performs poorly), --reorder uses Bowtie2's native --reorder flag, increasing decontamination speed by approx 50%

- Python
Published by bede over 2 years ago

https://github.com/bede/hostile - 0.3.0

  • Adds option --aligner-args, allowing arbitrary alignment parameter passthrough (e.g. --aligner-args="--ignore-quals").
  • Adds option --sort-by-name, ordering output reads by name. This ensures that output order is deterministic when using Bowtie2 with multiple threads. Bowtie2's --reorder flag also provides determinism with less overhead on Linux, but has severe performance implications under MacOS in my testing. You can pass --reorder to Bowtie2 using --aligner-args="--reorder").

- Python
Published by bede over 2 years ago

https://github.com/bede/hostile - 0.2.0

  • Addresses #21, improving performance dramatically with Illumina reads / Bowtie in some circumstances
  • Adds a space before /1 and /2 when renaming Illumina reads (with --rename), for improved compatibility
  • Improved logging

- Python
Published by bede over 2 years ago

https://github.com/bede/hostile - 0.1.0

Fixes issues #10, #19, #20, #22, #23, #25 and added many new tests

- Python
Published by bede almost 3 years ago

https://github.com/bede/hostile - 0.0.3

- Python
Published by bede almost 3 years ago

https://github.com/bede/hostile - 0.0.2

- Python
Published by bede almost 3 years ago