Skip to content
Snippets Groups Projects
Commit 5057fc88 authored by aurore.comte_ird.fr's avatar aurore.comte_ird.fr
Browse files

correct bugs:

- fastq.gz should be uncompressed for star
- changer genomedir for star mapping
parent 673252db
No related branches found
No related tags found
1 merge request!4Integration of STAR as mapper.
...@@ -15,5 +15,7 @@ PARAMS: ...@@ -15,5 +15,7 @@ PARAMS:
STAR: STAR:
indexation: indexation:
params: "--sjdbOverhang 100 --genomeSAindexNbases 10" params: "--sjdbOverhang 100 --genomeSAindexNbases 10"
mapping:
params: "--readFilesCommand zcat"
STRINGTIE: STRINGTIE:
discovery_mode : true discovery_mode : true
...@@ -16,6 +16,6 @@ PARAMS: ...@@ -16,6 +16,6 @@ PARAMS:
indexation: indexation:
params: "--sjdbOverhang 100 --genomeSAindexNbases 10" params: "--sjdbOverhang 100 --genomeSAindexNbases 10"
mapping: mapping:
params: "" params: "--readFilesCommand zcat"
STRINGTIE: STRINGTIE:
discovery_mode : true discovery_mode : true
...@@ -16,6 +16,6 @@ PARAMS: ...@@ -16,6 +16,6 @@ PARAMS:
indexation: indexation:
params: "--sjdbOverhang 100 --genomeSAindexNbases 10" params: "--sjdbOverhang 100 --genomeSAindexNbases 10"
mapping: mapping:
params: "" params: "--readFilesCommand zcat"
STRINGTIE: STRINGTIE:
discovery_mode : true discovery_mode : true
...@@ -224,7 +224,7 @@ rule star_index: ...@@ -224,7 +224,7 @@ rule star_index:
other=config['PARAMS']['STAR']['indexation']["params"] other=config['PARAMS']['STAR']['indexation']["params"]
output: output:
ref_link=f"{output_dir}/REF/STAR/{reference_basename}.fasta", ref_link=f"{output_dir}/REF/STAR/{reference_basename}.fasta",
index=f"{output_dir}/REF/STAR/{reference_basename}.fasta.1.ht2", index=f"{output_dir}/REF/STAR/genomeParameters.txt",
message: message:
""" """
Execute {rule} Execute {rule}
...@@ -281,7 +281,7 @@ rule star_map: ...@@ -281,7 +281,7 @@ rule star_map:
shell : shell :
""" """
( (
STAR --genomeDir {output_dir}/2_MAPPING/STAR/ \ STAR --genomeDir {output_dir}/REF/STAR/ \
--runThreadN {threads} \ --runThreadN {threads} \
--readFilesIn {input.R1} {params.R2} \ --readFilesIn {input.R1} {params.R2} \
{params.other} \ {params.other} \
......
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