Skip to content
Snippets Groups Projects
Commit 471380f7 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Fix stranded parse and add 8 cores to trimData

parent f03e0077
Branches
Tags
2 merge requests!37v0.0.1,!16Resolve "process_getRef"
Pipeline #5835 failed with stages
in 21 minutes and 9 seconds
...@@ -13,6 +13,9 @@ process { ...@@ -13,6 +13,9 @@ process {
cpus = 1 cpus = 1
memory = '1 GB' memory = '1 GB'
withName:getRef {
cpus = 8
}
withName:trimData { withName:trimData {
cpus = 15 cpus = 15
} }
......
...@@ -13,6 +13,9 @@ process { ...@@ -13,6 +13,9 @@ process {
cpus = 1 cpus = 1
memory = '1 GB' memory = '1 GB'
withName:getRef {
cpus = 8
}
withName:trimData { withName:trimData {
cpus = 15 cpus = 15
} }
......
...@@ -55,9 +55,9 @@ def main(): ...@@ -55,9 +55,9 @@ def main():
# Get strandedness metadata from 'Experiment Settings.csv' # Get strandedness metadata from 'Experiment Settings.csv'
if (args.parameter == "stranded"): if (args.parameter == "stranded"):
if (metaFile.Has_Strand_Specific_Information.unique() == "yes"): if (metaFile.Has_Strand_Specific_Information.unique() == "yes"):
if endsManual == "se": if (len(metaFile[metaFile["File_Type"] == "FastQ"]) == 1):
stranded = "--rna-strandness F" stranded = "--rna-strandness F"
else: elif (len(metaFile[metaFile["File_Type"] == "FastQ"]) == 2):
stranded = "--rna-strandness FR" stranded = "--rna-strandness FR"
elif (metaFile.Has_Strand_Specific_Information.unique() == "no"): elif (metaFile.Has_Strand_Specific_Information.unique() == "no"):
stranded = "" stranded = ""
......
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