semvec/pypi-packages huggingface dataset:
annovar-tools 0.0.2
tools for ANNOVAR

# ANNOVAR tools

该包是配合[ANNOVAR](https://annovar.openbioinformatics.org/en/latest/) 对相关文件进行处理的工具集

## vcf

> 将ANNOVAR输入文件,AVinput文件转换为VCF4.0格式

- -i/--avinput: 输入文件,AVinput格式
- -r/--reference: 参考基因组文件如hg19.fa,请事先使用samtools faidex构建索引
- -o/--vcf: 输出的VCF文件

```shell
zhuy@ubuntu:/projects/example$ annovar_tools.py vcf -i test.avinput -r hg19.fa -o test.vcf
```

## split

> 将ANNOVAR注释结果按照Gene拆分为多行，一次只能拆分一种gene-based数据库

- -i/--avoutput: 输入文件,ANNVOAR注释结果，如test.hg19_multianno.txt
- -r/--refgenes: 运行ANNOVAR所用的注释refGene文件，如hg19_ensGene.txt,hg19_knownGene.txt,hg19_refGeneWithVer.txt
- -g/gene_db: 所需拆分的gene-based数据库, 如refGeneWithVer,即ANNVOAR g参数对应的数据库名称,在ANNOVAR结果中体现为"Func.refGeneWithVer, Gene.refGeneWithVer, GeneDetail.refGeneWithVer, ExonicFunc.refGeneWithVer,
  AAChange.refGeneWithVer"
- -o/--outfile: 输出的拆分后的文件

```shell
zhuy@ubuntu:/projects/example$ annovar_tools.py split \
                               -i test.hg19_multianno.txt \
                               -r hg19_refGeneWithVer.txt \
                               -r hg19_ensGene.txt \
                               -r hg19_knownGene.txt \
                               -g refGeneWithVer
                               -o test.hg19_multianno.refGeneWithVer.txt
```
zapimoveis-scraper 0.4.0
zapimoveis-scraper is a Python package that works as a crawler and scraper using beautifulsoup4 to get data from zap imoveis

# Zap Imoveis Scraper

zapimoveis-scraper is a Python package that works as a crawler and scraper using beautifulsoup4 to get data from [zap imóveis](https://zapimoveis.com.br).


### Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install zapimoveis-scraper.
```bash
    pip install zapimoveis_scraper
```

### Usage 

```python
import zapimoveis_scraper as zap

# returns a list with objects containing scraped data
zap.search(localization="go+goiania++setor-oeste", num_pages=5) 
```

#### Available search parameters:
* localization (string): location in which the search will be performed
  * default: 'go+goiania++setor-marista'
  * The search string is available on the search url of zap imóveis. Eg: https://www.zapimoveis.com.br/aluguel/imoveis/rj+rio-de-janeiro+ilha-do-governador+cacuia/
* num\_pages (int): Number of pages to scrape
  * default: 1
* acao (string): type of contract. Possible values: 'venda', 'aluguel', 'lancamentos'
  * default: 'aluguel'
* tipo (string): type of property. Possible values: 'imoveis', 'apartamentos', 'casas'
  * default: 'casas'
* dictionaty\_out (boolean): Specifies the method output (list of objects or dictionary)
  * default: False
* time_to_wait (float): time to wait until the script scrapes the next page
  * default: 0

#### Scraped attributes:
The objects returned from `search` contain the following attributes:
* description: property description
* price: property price (monthly)
* condo\_fee: property condo fee (monthly)
* bedrooms: number of bedrooms on property
* bathrooms: number of bathrooms on property
* total\_area\_m2: property area (square meters)
* vacancies: parking spots available on property
* address: property address
* link: link of the property