Skip to content

Commit 817e3f2

Browse files
committed
correcting indent
1 parent ad9bda9 commit 817e3f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/getVariantOverlap.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ def test_variant_overlap(args, all_putative):
2626
variant_overlap = variant_overlap_pred.loc[variant_overlap_pred['distance']<= 2000000]
2727
variant_overlap.to_csv(variant_overlap_file+".tmp", sep="\t", index=False, header=True, compression="gzip", float_format="%.6f")
2828

29-
# shrink regions
30-
import subprocess
31-
subprocess.check_call("zcat {}.tmp | head -1 | gzip > {}".format(variant_overlap_file, variant_overlap_file), shell=True)
32-
subprocess.check_call("zcat {}.tmp | sed 1d | bedtools slop -b -150 -g {} | gzip >> {}".format(variant_overlap_file, args.chrom_sizes, variant_overlap_file), shell=True)
29+
# shrink regions
30+
import subprocess
31+
subprocess.check_call("zcat {}.tmp | head -1 | gzip > {}".format(variant_overlap_file, variant_overlap_file), shell=True)
32+
subprocess.check_call("zcat {}.tmp | sed 1d | bedtools slop -b -150 -g {} | gzip >> {}".format(variant_overlap_file, args.chrom_sizes, variant_overlap_file), shell=True)
3333

3434

3535
print("Done.")

0 commit comments

Comments
 (0)