Allow importing all-hom (reference) data from single fasta file.
[lightning.git] / ref2genome.go
index 79ea29de21802e2506b7d6c9e1ff663ee6324d65..d8d4ad5d0673fcbc81cc0b26dc3afab186fc08b8 100644 (file)
@@ -67,6 +67,7 @@ func (cmd *ref2genome) RunCommand(prog string, args []string, stdin io.Reader, s
                        ProjectUUID: cmd.projectUUID,
                        RAM:         1 << 30,
                        Priority:    *priority,
+                       VCPUs:       1,
                }
                err = runner.TranslatePaths(&cmd.refFile)
                if err != nil {
@@ -78,7 +79,7 @@ func (cmd *ref2genome) RunCommand(prog string, args []string, stdin io.Reader, s
                if err != nil {
                        return 1
                }
-               fmt.Fprintln(stdout, output)
+               fmt.Fprintln(stdout, output+"/ref.genome")
                return 0
        }