semvec/pypi-packages huggingface dataset:
sniffles2-plot 0.2.1
a visualizer tool for plot generating
Requires Python: >=3.8

# Sniffles Plot

## Introduction

The Sniffle Plot is a Python program that generates plots for single and multi-sample VCF files.

Type of plots for single sample VCF file:

1. Variant Frequency Spectrum
2. Genotype Frequency
3. SV Size & Type Distribution
4. Comparison of Length of Variants

Type of plots for multi samples VCF file:
    
1. Variant Frequency Spectrum
2. Upset plot for sample intersection
3. SV sites per genome
4. Variant call all SVs
5. Size distribution
6. Heat map for deletion and insertion intersections



## Quick Start
To install this package you can simply run the following command:
```
$ pip3 install sniffles2-plot
```

For running the program for multiple vcf files located in a sepcific directory:
```
$ python3 -m sniffles2_plot -i <VCF_files_folder>
``` 
     
For running the program for a single vcf file:
```
$ python3 -m sniffles2_plot -i <file_name> -o <output_folder>
```
Sample results of output:

<img src="./pictures/del_ins_type_size.jpg" width="200" height="200">
<img src="./pictures/hetamap.jpg" width="200" height="200">

<img src="./pictures/length_variant.jpg" width="200" height="200">
<img src="./pictures/sample_upset.png" width="200" height="200">
chibi-donkey 1.0.2
library for proccess the format double undescore

============
Chibi donkey
============

small lib for inflate and compress dict using double underscore
or proccess string using the format double undescore

*********************
how to used with dict
*********************

.. code-block:: python

	import chibi_donkey as donkey

	example = {
		'a': {
			'aa': {
				'aaa': 'aaa',
				'aab': 'aab',
				'aac': 'aac'
			},
			'ab': 'ab',
			'ac': None,
			},
			'b': {
			'ba': [ 1, 2, 3 ],
			'bb': 'bb',
			'bc': None,
			}
	}

	example_compress= {
		'a__aa__aaa': 'aaa',
		'a__aa__aab': 'aab',
		'a__aa__aac': 'aac',
		'a__ab': 'ab',
		'a__ac': None,
		'b__ba': [ 1, 2, 3 ],
		'b__bb': 'bb',
		'b__bc': None,
	}

	assert donkey.compress( example ) == example_compress
	assert donkey.inflate( example_compress ) == example

	assert donkey.get( 'a__aa__aaa', example ) == 'aaa'
	assert donkey.get( 'a__ba', example ) == [ 1, 2, 3 ]

	donkey.setter( 'a__aa__aaa', example, 'asdf' )
	assert donkey.get( 'a__aa__aaa', example ) == 'asdf'


***********************
how to use with strings
***********************


.. code-block:: python

	import chibi_donkey as donkey

	assert donkey.init( 'a__b__c' ) == 'a'
	assert donkey.last( 'a__b__c' ) == 'c'

	assert donkey.key( 'a', 'b', 'c' ) == 'a__b__c'
	assert donkey.partition( 'a__b__c' ) == [ 'a', 'b', 'c' ]
Pyisocapi 0.0.2
Python Isocapi API wrapper
Requires Python: >=3.10

# Pyisocapi
The Pyisocapi library provides convenient access to the Isocapi API from apps written in Python.
It includes client with multiple convenient methods to obtain data you need - both synchronously and asynchronously.

## Isocapi documentantion
See our page: [Isocapi](https://isocapi.com/docs/)

## Instalation
```sh
pip install --upgrade pyisocapi
```

#### Requirements
- Python 3.10+

## Usage:
<details open>
    <summary><b>synchronous</b></summary> 
    
```py
from pyisocapi import IsocapiClient

api_key = "YOUR_API_KEY"
url = "OLX_URL"

client = IsocapiClient(api_key)
response = client.get_olx_by_url(url)

print(response)
>> IsocapiAPIResponse(data={'id': 1234, ...}]}, error='', message='Successfully retrieved data', success=True)

print(response.success)
>> True
```
</details>

<details>
    <summary><b>asynchronous</b></summary>

```python
import asyncio
from pyisocapi import IsocapiClient

async def main():
    api_key = "YOUR_API_KEY"
    url = "OLX_URL"

    client = IsocapiClient(api_key)
    response = await client.get_olx_by_url_async(url)

    print(response)

asyncio.run(main())

>> IsocapiAPIResponse(data={'id': 1234, ...}]}, error='', message='Successfully retrieved data', success=True)

print(response.success)
>> True
```
</details>

#### Payloads
Some of the methods (e.g. get_otodom_by_keyword) require more complex payloads that are wrapped in convenient types which can be imported from `pyisocapi.payloads`

#### Handling exceptions
Unsuccessful requests raise exceptions. The class of the exception will reflect the sort of error that occurred. To handle them yourself import them from `pyisocapi.exceptions`


## Support
If you have encountered a bug or have any ideas how to improve this library - don't be afraid to open an [issue](https://github.com/isocsoft/pyisocapi/issues/new) with an explanation.