Created
March 9, 2018 09:57
-
-
Save holgerbrandl/d0ef0f702fd81dd36a047899719d7b32 to your computer and use it in GitHub Desktop.
Output read ids and corresponding read lengths for a fastq argument file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env kscript | |
@file:DependsOn("de.mpicbg.scicomp:kutils:0.9.0") | |
import de.mpicbg.scicomp.bioinfo.openFastq | |
openFastq(args[0]).forEach { println(it.id+""+it.sequence.length) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment