Skip to content

Commit

Permalink
修改注释
Browse files Browse the repository at this point in the history
  • Loading branch information
mahui-cn committed Jan 23, 2025
1 parent 5129921 commit e61244a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def arguments():
help="filename of regions of High Linkage Disequilibrium. Refer to: https://genome.sph.umich.edu/wiki/Regions_of_high_linkage_disequilibrium_(LD)",
)

# threshold of standard deviation of alleles frequency
# threads for concurrency
parser.add_argument(
"-th",
"--thread",
Expand Down
4 changes: 2 additions & 2 deletions wbbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def match_snp_from_vcf(
"r",
encoding="utf-8",
) as vcf_file:
print("Processing WBBC vcf file: " + vcf_filename)
print("\nProcessing WBBC vcf file: " + vcf_filename)
# 构造vcf字典,以RSID作为键,REF,ALT和INFO作为键值,只需要SNP,不包括Indel,生成vcf字典集
vcf_dict = {}
for vcf_line in vcf_file.readlines():
Expand Down Expand Up @@ -222,7 +222,7 @@ def get_rsid(tsv_files: list, high_ld_filename: str) -> set:
and tsv_line_list[0] not in rsid_set
and tsv_line_list[1] in chr_set
):
# 去除高连锁不平衡的SNP
# 去除连锁不平衡区域的SNP
inHLD = False
for i in range(len(hld_list)):
if (
Expand Down

0 comments on commit e61244a

Please sign in to comment.