File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,3 @@ appdata_dir=/space/gemmaData
65
65
human_reference_id =hg38_ncbi
66
66
mouse_reference_id =mm10_ncbi
67
67
rat_reference_id =rn7_ncbi
68
-
69
- [rnaseq_pipeline.sources.sra]
70
- paired_read_experiments =[]
Original file line number Diff line number Diff line change 18
18
from ..targets import ExpirableLocalTarget
19
19
from ..utils import remove_task_output , RerunnableTaskMixin
20
20
21
- class sra (luigi .Config ):
22
- task_namespace = 'rnaseq_pipeline.sources'
23
-
24
- paired_read_experiments = luigi .ListParameter (description = 'List of SRA experiments known to contain paired reads' )
25
-
26
21
cfg = rnaseq_pipeline ()
27
- sra_cfg = sra ()
28
22
29
23
logger = logging .getLogger ('luigi-interface' )
30
24
@@ -154,9 +148,7 @@ def run(self):
154
148
else :
155
149
run = df .sort_values ('Run' , ascending = False ).iloc [0 ]
156
150
157
- # layout is very often not annotated correctly and it is best to rely
158
- # on the number of mates per spot
159
- is_paired = (self .sample_id in sra_cfg .paired_read_experiments ) or (run .get ('spots_with_mates' , 0 ) > 0 ) or (run .LibraryLayout == 'PAIRED' )
151
+ is_paired = run .LibraryLayout == 'PAIRED'
160
152
161
153
metadata = dict (self .metadata )
162
154
metadata ['sample_id' ] = self .sample_id
You can’t perform that action at this time.
0 commit comments