diff --git a/build.gradle.kts b/build.gradle.kts index 1610aa7..f3874e5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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") } diff --git a/src/main/kotlin/krews/file/GeoInputFile.kt b/src/main/kotlin/krews/file/GeoInputFile.kt new file mode 100644 index 0000000..cec63f8 --- /dev/null +++ b/src/main/kotlin/krews/file/GeoInputFile.kt @@ -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" + +} \ No newline at end of file