Mercurial > repos > artbio > small_rna_signatures
comparison signature.py @ 1:ca2b04cdbf4d 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:54:47 +0000 |
| parents | 3e0ea204d09e |
| children |
comparison
equal
deleted
inserted
replaced
| 0:3e0ea204d09e | 1:ca2b04cdbf4d |
|---|---|
| 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: |
