Mercurial > repos > artbio > lumpy_sv
comparison pairend_distro.py @ 4:093bb151a0a8 draft
"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/lumpy-sv commit 07c73df696d6d80e03f03232603d713882131625"
author | artbio |
---|---|
date | Mon, 11 May 2020 19:51:38 -0400 |
parents | 1ed8619a5611 |
children | 6ae3a402b9af |
comparison
equal
deleted
inserted
replaced
3:da5aae7550b3 | 4:093bb151a0a8 |
---|---|
60 flag_mask = required | restricted | 60 flag_mask = required | restricted |
61 | 61 |
62 L = [] | 62 L = [] |
63 c = 0 | 63 c = 0 |
64 | 64 |
65 for l in sys.stdin: | 65 for length in sys.stdin: |
66 if c >= options.N: | 66 if c >= options.N: |
67 break | 67 break |
68 | 68 |
69 A = l.rstrip().split('\t') | 69 A = length.rstrip().split('\t') |
70 flag = int(A[SAM_FLAG]) | 70 flag = int(A[SAM_FLAG]) |
71 refname = A[SAM_REFNAME] | 71 refname = A[SAM_REFNAME] |
72 mate_refname = A[SAM_MATE_REFNAME] | 72 mate_refname = A[SAM_MATE_REFNAME] |
73 isize = int(A[SAM_ISIZE]) | 73 isize = int(A[SAM_ISIZE]) |
74 | 74 |