semvec/pypi-packages huggingface dataset:
compare-vcf 0.1.0
A PyPI package that compares two VCF files.

# Compare_vcf

`Compare_vcf` is a python package and cli tool that compares genotypes of two vcf files. It takes two vcf files as input arguments, and returns basic comparison data (details in [Output](#usage-and-output) section).

## Requirements

`compare_vcf` is written in Python 3.10.

## Installation

A tool can be installed either using `pip` or manually.

### Using pip

Just write `pip install compare_vcf` in terminal.

### Manually

Clone [repository](https://bitbucket.org/gpbigdata/vcfcompare/src/master/), move to root of the project, and execute Python installation command.

```bash
pip install -r requirements.txt
python setup.py install
```

After this, `compare_vcf` command is available for usage.

## Usage and Output

To use this tool, in terminal run

```bash
compare_vcf path/to/file1.vcf path/to/file2.vcf
```

Command will yield an output similar to the one below:

```bash
    file1.vcf variants: 3808772
    file2.vcf variants: 4652845
    Overlapping: 3602232
    Identical genotypes: 3506414 (97.34%)
    Non-identical genotypes: 95818
    +-------+--------------------+
    | Chr   |   Mismatched       |
    +=======+====================+
    | chr1  |               6780 |
    +-------+--------------------+
    | chr2  |               6440 |
    +-------+--------------------+
                    .
                    .
                    .
    +-------+--------------------+
    | chrX  |               2670 |
    +-------+--------------------+
    | chrY  |               1067 |
    +-------+--------------------+
    Execution time: 77.22 seconds
```

## Development

Clone [repository](https://bitbucket.org/gpbigdata/vcfcompare/src/master/), make a new branch and create a pull request.

### Testing

To run test, move to the root folder and write `python -m pytest tests/`.
averagepackage-sanwariyia 0.0.3
To find avg
Requires Python: >=3.7

# averagepackage-sanwariyia

## To find the average

---

# Use the package in your project

### Install the package


pip install averagepackage-sanwariyia


### Using the package


import averagepackage_sanwariyia.avg as average

print(average.avgmarks(2,3,4))


# Methods

### Average of 3 numbers

`avgmarks(a,b,c)`

This method takes 3 arguments and returns the average of the 3 numbers.

---

Sanwariyia S © 2023

> *Note*
> This is for a university project. Might not be maintained in future.
mpcd 0.1.1
Pure Python PCD reader/writer
Requires Python: >=3.7

``mpcd``
=======

----
Pure Python module to read and write point clouds stored in the [PCD file
format](http://pointclouds.org/documentation/tutorials/pcd_file_format.php),
used by the [Point Cloud Library](http://pointclouds.org/).
Fork from pypcd: https://github.com/dimatura/pypcd

```python
import mpcd
# also can read from file handles.
pc = mpcd.PointCloud.from_path('foo.pcd')
# pc.pc_data has the data as a structured array
# pc.fields, pc.count, etc have the metadata

# center the x field
pc.pc_data['x'] -= pc.pc_data['x'].mean()

# save as binary compressed
pc.save_pcd('bar.pcd', compression='binary_compressed')
```


I want to congratulate you / insult you
----------
My email is `mail@yuehao.wang`.

Copyright (C) 2023 Yuehao Wang
# mpcd