Mercurial > repos > cpt > cpt_find_spanins
comparison findSpanin.py @ 5:46b252c89e9e draft
planemo upload commit 25fff8b3887beeb66c2d53e2a32f9af9f34e40b6
author | cpt |
---|---|
date | Fri, 20 Sep 2024 04:19:02 +0000 |
parents | 673d1776d3b9 |
children | 81bd9b752628 |
comparison
equal
deleted
inserted
replaced
4:673d1776d3b9 | 5:46b252c89e9e |
---|---|
1 ##### findSpanin.pl --> findSpanin.py | 1 ##### findSpanin.pl --> findSpanin.py |
2 ######### Much of this code is very "blocked", in the sense that one thing happens...then a function happens on the return...then another function...etc...etc... | 2 ######### Much of this code is very "blocked", in the sense that one thing happens...then a function happens on the return...then another function...etc...etc... |
3 | 3 |
4 import argparse | 4 import argparse |
5 import os | |
6 import re # new | 5 import re # new |
7 import itertools # new | 6 from collections import Counter |
8 from collections import Counter, OrderedDict | |
9 from spaninFuncs import ( | 7 from spaninFuncs import ( |
10 getDescriptions, | 8 getDescriptions, |
11 grabLocs, | 9 grabLocs, |
12 spaninProximity, | 10 spaninProximity, |
13 splitStrands, | |
14 tuple_fasta, | 11 tuple_fasta, |
15 lineWrapper, | 12 lineWrapper, |
16 ) | 13 ) |
17 | 14 |
18 ### Requirement Inputs | 15 ### Requirement Inputs |