Skip to content
Snippets Groups Projects
Commit 7ded6fa6 authored by Helene Rimbert's avatar Helene Rimbert
Browse files

new rule gmapIndexTarget to prepare the whole genome index of the target...

new rule gmapIndexTarget to prepare the whole genome index of the target genome. This index is needed to rescue genes without any mapping result in targeted mapping and gmap on target
parent 06c403b6
No related branches found
No related tags found
No related merge requests found
......@@ -8,4 +8,12 @@ rule indexTarget:
message: " Indexing Target fasta file using samtools faidx"
input: config['targetFasta']
output: config['targetFasta']+'.fai'
shell: "samtools faidx {input}"
\ No newline at end of file
shell: "samtools faidx {input}"
rule gmapIndexTarget:
message: " Create Gmap Index for rescue"
input: config['targetFasta']
output: directory(config['results']+"/target_gmapindex")
params: indexname="target_gmapindex", indexPath=config['results']
log: config['results']+"/target_gmapindex.log"
shell: "gmap_build -D {params.indexPath} -d {params.indexname} {input} &> {log}"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment