kutils

A collection of kotlin utilities

License

License

MIT
GroupId

GroupId

com.github.holgerbrandl
ArtifactId

ArtifactId

kutils
Last Version

Last Version

0.12
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

kutils
A collection of kotlin utilities
Project URL

Project URL

https://github.com/holgerbrandl/kutils
Source Code Management

Source Code Management

https://github.com/holgerbrandl/kutils.git

Download kutils

Dependencies

compile (3)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib jar 1.4.32
com.github.holgerbrandl : kscript-annotations jar 1.2
org.jetbrains.kotlin : kotlin-script-runtime jar 1.4.32

Project Modules

There are no modules declared in this project.

kutils - A collection of kotlin utilities

Download Build Status

Installation

To use the library, simply add

compile 'de.mpicbg.scicomp:kutils:0.12'

to the dependencies in your gradle-file.

What's included?

Questions & Comments

Feel welcome to flood the isssue tracker with requests.

Examples

Most examples rely on kscript for shell integration

Filter a fasta file with a provided set of ids:

kscript - id.lst some.fasta <<"EOF"
// DEPS de.mpicbg.scicomp:kutils:0.7

import de.mpicbg.scicomp.bioinfo.openFasta
import java.io.File

val filterIds = File(args[0]).readLines()

openFasta(args[1]).
        filter { !filterIds.contains(it.id) }.
        forEach { print(it.toEntryString()) }
EOF

See also

Versions

Version
0.12