Mercurial > repos > artbio > small_rna_signatures
comparison signature.py @ 11:8d3ca9652a5b draft
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/small_rna_signatures commit 8691f2575cacd71c971338658198a1324e5f9370"
author | artbio |
---|---|
date | Sat, 23 Oct 2021 22:55:19 +0000 |
parents | 07771982ef9b |
children |
comparison
equal
deleted
inserted
replaced
10:68ee7c84d498 | 11:8d3ca9652a5b |
---|---|
80 | 80 |
81 def compute_query_positions(self): | 81 def compute_query_positions(self): |
82 ''' this method does not filter on read size, just forward reads | 82 ''' this method does not filter on read size, just forward reads |
83 that overlap reverse reads in the overlap range''' | 83 that overlap reverse reads in the overlap range''' |
84 all_query_positions = defaultdict(list) | 84 all_query_positions = defaultdict(list) |
85 for genomicKey in self.map_dict.keys(): | 85 for genomicKey in list(self.map_dict): |
86 chrom, coord, pol = genomicKey | 86 chrom, coord, pol = genomicKey |
87 for i in self.scope: | 87 for i in self.scope: |
88 if pol == 'F' and len(self.map_dict[chrom, | 88 if pol == 'F' and len(self.map_dict[chrom, |
89 coord+i-1, | 89 coord+i-1, |
90 'R']) > 0: | 90 'R']) > 0: |