biorxiv-cliでbioRxivから最新プレプリントのデータを取得

（12/2追記：投稿時、タイトルを「最新論文」としていたが、プレプリントと論文の区別はつけるべきだと思いタイトル変更）

Pythonの[arxivパッケージ](https://note.nkmk.me/python-arxiv-api-download-rss/)のようなものがbioRxivにもあるのかなと思ったら見当たらなかった。
検索していたら、[biorxiv-cli](https://github.com/jacquerie/biorxiv-cli)というものを見つけた。
よくわかっていないが、公式含め情報があまりにも少ないため殴り書きしておく。

# インストール
```bash:bash
pip install biorxiv-cli
```
# bash
公式に ``$ biorxiv read SUBJECTS`` と入力しろと書いてあるので、``SUBJECTS``が検索ワードかな？と解釈して``bioconvection``と入れてみたらエラーが出た。

```bash:bash
(base) akpro:~ kageazusa$ biorxiv read bioconvection
```
```text:出力結果
Usage: biorxiv read [OPTIONS] [SUBJECTS]...

Error: Invalid value for "subjects": invalid choice: bioconvection. (choose from all, animal_behavior_and_cognition, biochemistry, bioengineering, bioinformatics, biophysics, cancer_biology, cell_biology, clinical_trials, developmental_biology, ecology, epidemiology, evolutionary_biology, genetics, genomics, immunology, microbiology, molecular_biology, neuroscience, paleontology, pathology, pharmacology_and_toxicology, physiology, plant_biology, scientific_communication_and_education, synthetic_biology, systems_biology, zoology)
```
``SUBJECTS``は下記から選ばないといけないらしい。

- all
- animal_behavior_and_cognition
- biochemistry
- bioengineering
- bioinformatics
- biophysics
- cancer_biology
- cell_biology
- clinical_trials
- developmental_biology
- ecology
- epidemiology
- evolutionary_biology
- genetics
- genomics
- immunology
- microbiology
- molecular_biology
- neuroscience
- paleontology
- pathology
- pharmacology_and_toxicology
- physiology
- plant_biology
- scientific_communication_and_education
- synthetic_biology
- systems_biology
- zoology

``biophysics``と入力してみる。

```bash:bash
(base) akpro:~ kageazusa$ biorxiv read biophysics
```
```text:出力結果
   1.  Modified N-linked glycosylation status predicts trafficking defective human Piezo1 channel mutations
   2.  Role of Long-range Allosteric Communication in Determining the Stability and Disassembly of SARS-COV-2 in Complex with ACE2
   3.  On the permeability of cell membranes subjected to lipid oxidation
   4.  Optimized data acquisition workflow by sample thickness determination
   5.  pH Effect on the Dynamics of SARS-CoV-2 Main Protease (Mpro)
   6.  Multi-parameter formulation development for an HIV-vaccine protein with direct validation of epitope binding integrity and stoichiometry
   7.  Experimental evaluation of thermodynamic cost and speed limit in living cells via information geometry
   8.  Structural basis of the activation of the CC chemokine receptor 5 by a chemokine agonist
   9.  Spurious regulatory connections dictate the expression-fitness landscape of translation termination factors
  10.  Viscoelasticity of biomolecular condensates conforms to the Jeffreys model
  11.  3D DNA structural barcode copying and random access
  12.  1H, 15N and 13C sequence specific backbone assignment of the MAP Kinase Binding Domain of the Dual Specificity Phosphatase 1 and its interaction with the MAPK p38
  13.  The interaction of p38 with its upstream kinase MKK6
  14.  3D Adaptive Optical Nanoscopy for Thick Specimen Imaging at sub-50 nm Resolution
  15.  Transcription factor residence time dominates over concentration in transcription activation
  16.  Sub-millisecond conformational dynamics of the A2A adenosine receptor revealed by single-molecule FRET
  17.  Forever Young: Structural Stability of Telomeric Guanine-Quadruplexes in Presence of Oxidative DNA Lesions.
  18.  Factors Underlying Asymmetric Dynamics of Disaggregase and Microtubule Severing AAA+ Machines
  19.  Direct Observation of the Mechanism of Antibiotic Resistance by Mix-and-Inject at the European XFEL
  20.  Binding Dynamics of Disordered Linker Histone H1 with a Nucleosomal Particle
  21.  Transient active osmotic swelling of epithelium upon curvature induction
  22.  Single molecule tracking and analysis framework including theory-predicted parameter settings
  23.  Direct information estimation from cryo-EM Movies with CARYON
  24.  AN EPILEPSY-CAUSING MUTATION LEADS TO CO-TRANSLATIONAL MISFOLDING
  25.  N-terminal VP1 truncations favor T=1 norovirus-like particles
  26.  Weak vestibular response in persistent developmental stuttering and implications for own voice identification
  27.  An Ultra-Stable and Dense Single-Molecule Click Platform for Sensing Protein-DNA Interactions
  28.  Double Lock of a Potent Human Monoclonal Antibody against SARS-CoV-2
  29.  Entropy-driven translocation of disordered proteins through the Gram-positive bacterial cell wall
  30.  High-throughput characterization of 309 photocrosslinker-bearing ASIC1a variants maps residues critical for channel function and pharmacology
```
最新30タイトルが表示されるらしい。

# Python
[公式](https://github.com/jacquerie/biorxiv-cli)の例の通り。

```python:python
from biorxiv_cli import Client
client = Client()
client.read(["biophysics"])
```
![スクリーンショット 2020-12-02 22.39.31.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/820036/bdfb57ab-d81f-e38d-7a88-d1d4b4a84efb.png)
30本分のタイトルだけでなく、summaryやauthorなどのデータが含まれたリストが返される。

# これしか機能ないのか
たぶんない（か、私があまりにも何も理解してない）。もし何かわかったら追記します。