Pre-release
This release is a pre-release and may not be stable for production use.
BioInformatics Tools kit
Summarized some useful tools in it.
BITK will help us manipulate data in different formats.
Install
pip install bitk
How to use
dedim.py
usage: dedim.py [-h] [--sep SEP] [--dedimensions-method DEDIMENSIONS_METHOD]
[--cluster-method CLUSTER_METHOD]
[--assess-method ASSESS_METHOD] [--dimensions DIMENSIONS]
[--cluster-number CLUSTER_NUMBER] [-r] [--no-row-feature]
[--annotation ANNOTATION] [--size SIZE] [--style STYLE]
[-t TITLE] [-f FIG] [--version]
matrix prefix
positional arguments:
matrix matrix table, if row represents feature, please note to add '--row-feature' option
prefix output prefix
optional arguments:
-h, --help show this help message and exit
--sep SEP separation
(default: )
--dedimensions-method DEDIMENSIONS_METHOD
de-dimensions method
(default: PCA)
--cluster-method CLUSTER_METHOD
cluster method
(default: MiniBatchKMeans)
--assess-method ASSESS_METHOD
assess methods for best cluster number
(default: silhouette_score)
--dimensions DIMENSIONS
reduce to n dimensions
(default: 3)
--cluster-number CLUSTER_NUMBER
cluster number, if not specific it, it will be the best cluster number infered
(default: None)
-r, --row-feature row in the matrix represents feature
(default: True)
--no-row-feature
--annotation ANNOTATION
annotation file, sep should be ','
(default: None)
--size SIZE size column in annotation file
(default: None)
--style STYLE style column in annotation file
(default: None)
-t TITLE, --title TITLE
figure title
(default: None)
-f FIG, --fig FIG png/pdf
(default: png)
--version show program's version number and exit
example
dedim.py tests/test.csv tests/test_result \
--sep , --dimensions 2 \
--no-row-feature --annotation tests/test_anno.csv \
--style targets --title 'test PCA' \
--dedimensions-method TSNE --fig png
fc_rename.py
usage: fc_rename.py [-h] [-s SAMPLE_TITLE] [-b BAM_TITLE] [-c COUNT_TITLE]
[--version]
featurecounts clinical prefix
featurecounts will use the bamfile name as the sample name. This script rename the featurecounts by the given table.
positional arguments:
featurecounts featurecounts table file
clinical clinical table file with header
prefix output prefix, there will be two outputs, one is count output (prefix_count.txt), and the other one is the rename featurecounts (prefix_fc.txt)
optional arguments:
-h, --help show this help message and exit
-s SAMPLE_TITLE, --sample-title SAMPLE_TITLE
the column name of the sample name
(default: sample)
-b BAM_TITLE, --bam-title BAM_TITLE
the column name of the bamfile name
(default: bam)
-c COUNT_TITLE, --count-title COUNT_TITLE
the column name used as identity in count data
(default: Geneid)
--version show program's version number and exit
Metadata
Release files for simplebitk 0.0.1a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| simplebitk-0.0.1a0.tar.gz | 25.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simplebitk-0.0.1a0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.4 MB
Release files / simplebitk-0.0.1a0.tar.gz
| Download URL | simplebitk-0.0.1a0.tar.gz |
|---|---|
| Size | 25.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ff3ff76d831c17ac51ac42448ad2bdcc50f39d39bef284c1b2a1056b57a3b53
|
|
BLAKE2b-256 checksum How to use checksums |
804f4c71916613b70f16cd1041beef86299b9c8babaf2d8b8d9e783833608b83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5
|
Release files / simplebitk-0.0.1a0-py3-none-any.whl
| Download URL | simplebitk-0.0.1a0-py3-none-any.whl |
|---|---|
| Size | 18.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cddd4840a51d1b791975b9c176f1b3f8086eb7b20b82800310343227d3b1472
|
|
BLAKE2b-256 checksum How to use checksums |
1a23d57d9107a21e77b27c604ba27ee1c1eda77466981fe2ac42b0031ccd9b32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5
|