Skip to content

Commit 100694e

Browse files
committed
update readme
1 parent 6a437de commit 100694e

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ jobs:
2222
run: python -m cibuildwheel --output-dir wheelhouse
2323
env:
2424
CIBW_SKIP: cp27-* pp27-*
25-
CIBW_BUILD_VERBOSITY: 3
25+
CIBW_BUILD_VERBOSITY: 0
26+
#CIBW_BUILD_VERBOSITY: 3 for debug
2627

2728
- name: Display wheel
2829
run: ls -l wheelhouse
@@ -55,8 +56,7 @@ jobs:
5556
upload_pypi:
5657
needs: [build_wheels, build_sdist]
5758
runs-on: ubuntu-latest
58-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
59-
#if: github.event_name == 'push'
59+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
6060
steps:
6161
- uses: actions/download-artifact@v2
6262
with:

README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ The ``stria`` is a lightweight Python C extension for identification and analysi
2828
The ``stria`` enables to fastly identify both exact and imperfect SSRs and VNTRs from large numbers of DNA sequences.
2929
The ``stria`` also provides command line tools for users to extract tandem repeats from Fasta files.
3030

31+
Usage
32+
=====
33+
34+
.. code:: python
35+
36+
>>> import stria
37+
>>> import pyfastx
38+
>>> for name, seq, _ in pyfastx.Fastx('test.fa.gz'):
39+
>>> for ssr in SSRMiner(name, seq):
40+
>>> print(ssr.as_string())
41+
3142
Documentation
3243
=============
3344

0 commit comments

Comments
 (0)