-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New training: Transcriptome complexity analysis with TSENAT #6795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
gallardoalba
wants to merge
13
commits into
galaxyproject:main
Choose a base branch
from
gallardoalba:Add_tsenat_training
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 3 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
4e63985
Basic schema
gallardoalba 87dc5b8
Fix issues
gallardoalba 507ab85
Remove subsection
gallardoalba e42f278
Add draft slides
gallardoalba 6b3b4e5
Update slides
gallardoalba 339aa7a
Fix citations
gallardoalba df4a235
slides.html
gallardoalba 2877038
Update slides
gallardoalba d099657
Update slides
gallardoalba 0ace751
Update slides
gallardoalba 05bd201
Update slides
gallardoalba 247deb3
Update slides
gallardoalba 9733f57
Fix FAQs format
gallardoalba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
138 changes: 138 additions & 0 deletions
138
topics/transcriptomics/tutorials/transcriptome_complexity_tsenat/faqs/index.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,138 @@ | ||
| # Frequently Asked Questions about TSENAT and Transcriptome Complexity Analysis | ||
|
|
||
| ## Conceptual Questions | ||
|
|
||
| ### What's the difference between Tsallis entropy and Shannon entropy? | ||
|
|
||
| **Shannon entropy** (q=1 in Tsallis framework) treats all isoforms equally. **Tsallis entropy** adds a parameter `q` that acts as a sensitivity dial: | ||
| - When q < 1: emphasizes **rare isoforms** | ||
| - When q = 1: recovers Shannon entropy (balanced) | ||
| - When q > 1: emphasizes **abundant isoforms** | ||
|
|
||
| This allows you to examine complexity at different biological scales in a single analysis. | ||
|
|
||
| ### Why is transcriptome complexity important if DESeq2 already detects changes? | ||
|
|
||
| DESeq2 and edgeR measure **total gene abundance** changes. They miss situations where: | ||
| - A gene maintains constant total expression but **reorganizes its isoforms** | ||
| - Rare isoforms become more common (or vice versa) without affecting overall counts | ||
| - The **diversity** of the isoform landscape changes | ||
|
|
||
| These are valid biological signals (isoform switching via splicing regulation) that complement abundance-based methods. | ||
|
|
||
| ## Technical Questions | ||
|
|
||
| ### What sample size do I need? | ||
|
|
||
| TSENAT assumes **≥6-8 samples per group** for paired/longitudinal designs: | ||
| - Smaller samples are underpowered to detect entropy shifts | ||
| - Larger samples increase power to detect subtle complexity changes | ||
| - Biological replicates are essential (not technical replicates) | ||
|
|
||
| ### How do I choose the q-spectrum (range and granularity)? | ||
|
|
||
| **Standard configuration**: q = 0 to 2.0 with Δq = 0.05 (41 q-values) | ||
| - Range: 0-2 covers extreme rare-emphasis to abundant-emphasis | ||
| - Granularity: Δq=0.05 provides good resolution without computational burden | ||
| - For visualization: Can downsample to q = (0, 0.5, 1, 1.5, 2) for quick exploration | ||
|
|
||
| ### Does read depth affect entropy estimates? | ||
|
|
||
| Yes. TSENAT uses **automatic pseudocount selection** to handle this: | ||
| - Pseudocounts scale with library size | ||
| - Ensures entropy estimates are comparable across samples with different sequencing depths | ||
| - Breaks ties in rank-based validation methods | ||
| - Standard practice in RNA-seq analysis | ||
|
|
||
| ### What's the difference between "consistent" vs. "scale-dependent" transcript switching? | ||
|
|
||
| - **Consistent switching**: Same transcripts show high delta-influence values across all q-values | ||
| - Robust, scale-independent splicing shift | ||
| - Suggests coordinated regulatory mechanism | ||
|
|
||
| - **Scale-dependent switching**: Different transcripts matter at different q-values | ||
| - Regulatory complexity varies by scale | ||
| - Different mechanisms for rare vs. abundant isoforms | ||
|
|
||
| ## Methodological Questions | ||
|
|
||
| ### What does "q × condition interaction" mean? | ||
|
|
||
| It means the effect of **condition on entropy depends on which q-value** you examine: | ||
| - At q=0.5, one condition might have higher entropy | ||
| - At q=2, the pattern might reverse | ||
| - This reveals **scale-dependent** biological signals | ||
|
|
||
| ### What's the advantage of Tsallis divergence over fold-change? | ||
|
|
||
| **Fold-change**: | ||
| - Simple 1:1 ratio between conditions | ||
| - Misses complexity patterns | ||
| - Unbounded (can be arbitrarily large) | ||
|
|
||
| **Tsallis divergence**: | ||
| - Information-theoretic distance between distributions | ||
| - Captures pattern type (rare-driven, balanced, abundant-driven) | ||
| - Symmetric [0] to asymmetric, bounded interpretability | ||
| - Directly quantifies isoform complexity differences | ||
|
|
||
| ## Practical Workflow Questions | ||
|
|
||
| ### Where do I get transcript-level counts for this analysis? | ||
|
|
||
| TSENAT expects **SALMON or Kallisto output** including: | ||
| - NumReads: raw fragment counts per transcript | ||
| - TPM: length- and library-normalized estimates | ||
| - EffectiveLength: read-length corrected transcript length | ||
|
|
||
| These are standard outputs from pseudoalignment-based quantification. | ||
|
|
||
|
|
||
| ## Interpretation Questions | ||
|
|
||
| ### A gene shows significant q×condition interaction but small effect size—should I report it? | ||
|
|
||
| Guidelines for meaningful results: | ||
| - **Effect size (Tsallis divergence) D > 0.1**: ~10% information divergence (notable) | ||
| - **D > 0.2**: Substantial divergence (recommended threshold) | ||
| - **Small D with p < 0.05**: May reflect statistical noise; prioritize high-effect genes | ||
|
|
||
| Report both for completeness: | ||
| - High-effect genes (D > 0.2): Strong biological signal | ||
| - Borderline genes (D ~ 0.1, p < 0.05): Mention as candidates for validation | ||
|
|
||
|
|
||
| ## Troubleshooting | ||
|
|
||
| ### My results show no significant genes. What could be wrong? | ||
|
|
||
| 1. **Sample size too small**: Need ≥6-8 per group (check design) | ||
| 2. **Entropy differences too subtle**: Try visualizing q-curves manually | ||
| 3. **Filtering too stringent**: Relaxing filters may reveal additional patterns | ||
| 4. **Method choice**: Try alternative statistical method (GAM vs. LMM vs. SRH) | ||
| 5. **Data quality**: Run M-estimation QC; check for outlier samples | ||
|
|
||
| ### Some q-values give NA or NaN results. Why? | ||
|
|
||
| Possible causes: | ||
| 1. **Zero counts**: Pseudocount selection should handle; check filtering | ||
| 2. **Numerical instability**: Very small divergence values can underflow | ||
| 3. **Method-specific**: SRH (rank test) may have issues with many tied values | ||
|
|
||
| Solution: Ensure pseudocount regularization is enabled; try alternative statistical method. | ||
|
|
||
| ### Q-curves show erratic patterns. Is this normal? | ||
|
|
||
| **Expected**: Small fluctuations in entropy across q-values | ||
| **Concerning**: Large spikes or reversals | ||
| - May indicate normalization issues | ||
| - Check: Are housekeeping genes (GAPDH, ACTB) showing balanced patterns? | ||
| - If not: Revisit pseudocount and filtering parameters | ||
|
|
||
| ### Can I use TSENAT with very long reads (PacBio, Nanopore)? | ||
|
|
||
| Conceptually yes, but: | ||
| - TSENAT expects pseudoalignment-based quantification (SALMON, Kallisto) | ||
| - Long reads typically use alignment-based tools (Minimap2, etc.) | ||
| - Workflow would need adaptation to parse alignment-based counts | ||
| - Overall approach (entropy framework) remains valid | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.