Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor error fixes #112

Open
wants to merge 1 commit into
base: xtea_mosaic
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xtea/x_gvcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def _cvt_to_vcf_rcd(self, l_fields, s_type, s_tsd, s_id, s_ref_seq):
n_ranchor_rc = int(l_fields[45])
n_ranchor_nrc = int(l_fields[46])

i_ins_len=int(l_fields[47])
i_ins_len=int(float(l_fields[47]))
s_fall_in_ref_copy=l_fields[48]
s_gene_info="."
if len(l_fields)>49:
Expand Down Expand Up @@ -357,4 +357,4 @@ def _cvt_to_vcf_rcd(self, l_fields, s_type, s_tsd, s_id, s_ref_seq):
s_rcd+=sinfo
return s_rcd

####
####
3 changes: 2 additions & 1 deletion xtea/x_post_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,7 @@ def __init__(self, swfolder, n_jobs):
####
def get_rep_type(self):
l_types = []
l_types.append(global_values.ORPHAN_TRANSDUCTION)
l_types.append(global_values.ONE_SIDE_FLANKING)
l_types.append(global_values.TWO_SIDE)
l_types.append(global_values.TWO_SIDE_TPRT_BOTH)
Expand Down Expand Up @@ -1244,4 +1245,4 @@ def calc_ratio(self, m_cutoff, n_clip_cutoff, n_disc_cutoff, sf_in):
s = 1
print(line.rstrip())
print(n_hard_pass, n_pass, n_total)
####
####