# HG changeset patch # User fubar # Date 1721439849 0 # Node ID 53c4f91c603111658232dea67af39c45cea71da4 # Parent efc775ab30fe4c4ead53dbec9b28b761fbfb1252 planemo upload for repository https://github.com/fubar2/microsatbed commit 80a8c0db54b6e2cab9dfe7178b1e5b3b39592f2c diff -r efc775ab30fe -r 53c4f91c6031 find_str.py --- a/find_str.py Fri Jul 19 23:32:59 2024 +0000 +++ b/find_str.py Sat Jul 20 01:44:09 2024 +0000 @@ -88,13 +88,13 @@ bed += cbed if args.bigwig: wig.sort() - bedg = ['%s %d %d %.3f' % x for x in wig] + bedg = ["%s %d %d %.3f" % x for x in wig] with open("temp.bedg", "w") as bw: - bw.write('\n'.join(bedg)) + bw.write("\n".join(bedg)) chroms = ["%s\t%s" % (x, chrlens[x]) for x in chrlens.keys()] with open("temp.chromlen", "w") as cl: - cl.write('\n'.join(chroms)) - cmd = ["bedGraphToBigWig", "temp.bedg", "temp.chromlen", "temp.bw" ] + cl.write("\n".join(chroms)) + cmd = ["bedGraphToBigWig", "temp.bedg", "temp.chromlen", "temp.bw"] subprocess.run(cmd) shutil.move("temp.bw", args.bed) else: diff -r efc775ab30fe -r 53c4f91c6031 microsatbed.xml --- a/microsatbed.xml Fri Jul 19 23:32:59 2024 +0000 +++ b/microsatbed.xml Sat Jul 20 01:44:09 2024 +0000 @@ -1,10 +1,17 @@ - + Short Tandem Repeats to bed features from fasta + + 1.3.2 + 0 + 2.1.0 + 3.12.3 + 455 + - python - pyfastx - pytrf - ucsc-bedgraphtobigwig + python + pyfastx + pytrf + ucsc-bedgraphtobigwig @@ -14,9 +21,9 @@ - - - - - - + + + + + +