@@ -366,7 +366,7 @@ elif manager.config.trimming.software_choice == "fastp":
366
366
options_fastp += "--disable_quality_filtering"
367
367
368
368
rule fastp:
369
- input:
369
+ input:
370
370
sample=manager.getrawdata()
371
371
output:
372
372
trimmed=__clean_fastq__output,
@@ -425,7 +425,7 @@ else:
425
425
# ========== decompress and sanity check
426
426
#
427
427
if int(config['bowtie1_mapping_rna']['nreads']) != -1:
428
- extra = int(config['bowtie1_mapping_rna']['nreads']) % 4
428
+ extra = int(config['bowtie1_mapping_rna']['nreads']) * 4
429
429
config['bowtie1_mapping_rna']['nreads'] -= extra
430
430
431
431
@@ -723,7 +723,7 @@ else :
723
723
fc_outdir = "post_analysis/feature_counts/"
724
724
725
725
if manager.config.feature_counts.do and manager.config.general.aligner not in ['salmon']:
726
- # Guessing strandness is not always straightfoward; Even when we set it;
726
+ # Guessing strandness is not always straightfoward; Even when we set it;
727
727
# collaborators may want to look at the other options. So, we compute
728
728
# everything with the 3 different options of strandness.
729
729
# We will copy one of them based on our criteria, but all 3 will be
@@ -769,7 +769,7 @@ if manager.config.feature_counts.do and manager.config.general.aligner not in ['
769
769
f"{manager.wrappers}/wrappers/feature_counts"
770
770
771
771
772
- # ===================== guessing the strand
772
+ # ===================== guessing the strand
773
773
#
774
774
__guess_strandness__output = expand(fc_outdir + "{sample}_feature.out", sample=manager.samples)
775
775
rule guess_strandness:
@@ -783,7 +783,7 @@ if manager.config.feature_counts.do and manager.config.general.aligner not in ['
783
783
# We compute all strandness
784
784
import sequana.featurecounts as fc
785
785
786
- mfc = fc.MultiFeatureCount(rnaseq_folder=".",
786
+ mfc = fc.MultiFeatureCount(rnaseq_folder=".",
787
787
tolerance=manager.config.feature_counts.tolerance)
788
788
mfc.df.to_csv(output.summary)
789
789
@@ -943,8 +943,8 @@ if config["rnaseqc"]["do"] and config['general']['aligner'] != 'salmon':
943
943
output:
944
944
gtf = temp("tmp/test.gtf")
945
945
run:
946
- # If input GTF has no exon or genes, an error message is printed and
947
- # no files are created. This seems to be an issue in rnaseqc.
946
+ # If input GTF has no exon or genes, an error message is printed and
947
+ # no files are created. This seems to be an issue in rnaseqc.
948
948
# So, we create dummy gene and exon
949
949
with open(output.gtf, "w") as ff:
950
950
ff.write(open(input['gtf'], "r").read())
0 commit comments