Amplicon Alpha Diversity Analysisのロゴ

Amplicon Alpha Diversity Analysis

コミュニティ
SteveTangent
amplicon-alpha-diversity-analysis

Calculate per-sample observed features, Shannon and Simpson alpha diversity from amplicon integer-count TSVs. Return not-estimable for zero depth; exclude normalization, beta diversity and group tests.

概要

公開者SteveTangent
リポジトリgoose-bio-skills
スキル名amplicon-alpha-diversity-analysis
スター
64
フォーク
0
同梱ファイル
7
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 7個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    SteveTangentがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Amplicon Alpha Diversity Analysis」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/SteveTangent/goose-bio-skills/tree/main/skills/amplicon-alpha-diversity-analysis
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SteveTangent/goose-bio-skills.git /tmp/goose-bio-skills
mkdir -p .claude/skills
cp -r /tmp/goose-bio-skills/skills/amplicon-alpha-diversity-analysis .claude/skills/amplicon-alpha-diversity-analysis
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAmplicon Alpha Diversity Analysisを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAmplicon Alpha Diversity Analysisを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Amplicon Alpha Diversity Analysisは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Amplicon Alpha Diversity Analysis

Preview + reviewed; the deterministic helper self-test passed. Agent runtime, representative-data benchmarking, scientific evaluation, and expert review were not performed.

Execution behavior

Use supplied and safely inspected facts first. Explain an unfamiliar term only when it changes the decision. If a critical fact is missing or inconsistent, follow the dialogue guide: ask one focused question, explain why, recommend a defensible route, and wait on dependent work. Continue independent authorized work; never guess scientific facts or repeat a resolved question. With complete inputs, proceed. Show relevant figures/tables and their meaning; preserve the host's permissions and the boundaries below. Finish with outputs, key findings and concrete remaining limits.

Detailed scope: Use for bounded, offline per-sample alpha-diversity summaries from a local TSV containing exact amplicon feature rows, sample columns, and nonnegative integer counts. Calculate observed features, natural-log Shannon diversity, and Simpson diversity defined as one minus the sum of squared relative abundances; return explicit not-estimable results for zero-depth samples. Exclude FASTQ processing, denoising, rarefaction, normalization, compositional correction, beta diversity, hypothesis testing, differential abundance, taxonomy, contamination or pathogen decisions, and biological or clinical interpretation.

Owns

Calculate three descriptive alpha-diversity metrics for each sample in one already-produced feature-count table. Preserve integer counts and make no comparability, adequacy, significance, contamination, or biological decision.

Inputs and intake

Require one UTF-8 TSV and a new JSON output path. The first header must be feature_id; rows are unique features and every remaining header is a unique sample ID containing nonnegative integer counts.

Inspect safe facts first. Ask one unresolved question with a recommendation, then wait:

  1. table-and-count-semantics. Are rows exact amplicon features and cells unnormalized integer counts? Recommended: export the producer's feature-row count table unchanged; do not infer orientation or convert normalized values.
  2. cross-sample-comparability. Is the user asking only for per-sample descriptions, or for cross-sample inference? Recommended: use this helper only for descriptive values; stop and choose a study-specific method before comparing groups or unequal-depth samples.

An explicit local descriptive request authorizes the bounded read and one create-new report when these facts are already supplied.

Run

text
python3 scripts/calculate_alpha_diversity.py \
  --feature-table FEATURE_COUNTS.tsv --output NEW_REPORT.json

The dependency-free Python 3.10+ helper accepts regular, uncompressed files only. It refuses ambiguous orientation, duplicate or invalid IDs, fractional or negative counts, excessive tables or depths, parent traversal, input/output symlinks, missing output parents, and existing outputs.

Output contract

The deterministic JSON report binds the input fingerprint and fixed metric definitions to feature/sample counts and, for every sample:

  • total depth;
  • observed-feature count;
  • Shannon diversity with natural logarithms;
  • Simpson diversity as 1 - sum(p_i^2).

All three metrics are structured not-estimable with reason zero-depth when the sample total is zero. Read format and metric boundaries.

Guardrails

  • Never infer orientation, feature identity, sample identity, count semantics, sampling adequacy, or cross-sample comparability.
  • Never rarefy, normalize, impute, transform, filter, classify, or alter counts.
  • Never compute beta diversity, group tests, differential abundance, taxonomy, contamination or pathogen decisions, or biological/clinical interpretation.
  • Never overwrite, mutate input, create directories, follow symlinks, use the network, or start a subprocess.
  • Require researcher review of producer semantics, depth differences, study design, and any downstream comparison.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Amplicon Alpha Diversity Analysis」では何ができますか?

Calculate per-sample observed features, Shannon and Simpson alpha diversity from amplicon integer-count TSVs. Return not-estimable for zero depth; exclude normalization, beta diversity and group tests.

TypingMindでAmplicon Alpha Diversity Analysisを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Amplicon Alpha Diversity Analysisはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAmplicon Alpha Diversity Analysisをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/SteveTangent/goose-bio-skills/tree/main/skills/amplicon-alpha-diversity-analysisを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Amplicon Alpha Diversity Analysisを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Amplicon Alpha Diversity Analysisで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAmplicon Alpha Diversity Analysisを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Amplicon Alpha Diversity Analysis」は無料ですか?

はい。SteveTangentがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇