Skip to content

Commit

Permalink
added geo input file type
Browse files Browse the repository at this point in the history
  • Loading branch information
NishiPhalke committed Nov 2, 2021
1 parent bb1a55b commit aef43a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "io.krews"
version = "0.12.0"
version = "0.12.1"

repositories {
maven { setUrl("http://dl.bintray.com/kotlin/kotlin-eap") }
Expand Down
7 changes: 7 additions & 0 deletions src/main/kotlin/krews/file/GeoInputFile.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package krews.file

data class GeoInputFile(val sraaccession: String, override val path: String, val dockerimage: String? = "ncbi/sra-tools") : InputFile() {
override fun downloadFileImage() = "$dockerimage"
override fun downloadFileCommand(containerBaseDir: String) = "fasterq-dump --outfile $containerBaseDir/$path -e 8 -p $sraaccession"

}

0 comments on commit aef43a0

Please sign in to comment.