Commit 3e27cabb authored by khalid's avatar khalid
Browse files

Add raw hisat2_index

parent c1fd5d10
import os
import re
import sys
def raw_hisat2_index(results_dir, hisat2_index):
out = dict()
from os import listdir
from os.path import isfile, join
onlyfiles = [join( hisat2_index, f) for f in listdir(hisat2_index) if isfile(join(hisat2_index, f))]
out["hisat2_index"] = onlyfiles
return(out)
#print(raw_hisat2_index(sys.argv[1],sys.argv[2])
\ No newline at end of file
{
name: raw_hisat2_index,
function_call: "raw_hisat2_index(config['results_dir'], config['hisat2_index'])",
options: [
{
name: "hisat2_index",
type: "input_dir",
value: "/Data",
label: "Directory containing the hisat2 index files: ",
volumes: [Data: "/Data", Results: "/Results"]
}
]
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment