Skip to content

Commit

Permalink
Merge pull request #206 from nf-core/v1.4.0_fixes
Browse files Browse the repository at this point in the history
V1.4.0 fixes
  • Loading branch information
pinin4fjords authored Nov 27, 2023
2 parents 40073de + 2341fbd commit 47ef421
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This may well be the same sample sheet used to generate the input matrix. For ex

For example:

```console
```csv
sample,fastq_1,fastq_2,condition,replicate,batch
CONTROL_REP1,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz,control,1,A
CONTROL_REP2,AEG588A1_S1_L003_R1_001.fastq.gz,AEG588A1_S1_L003_R2_001.fastq.gz,control,2,B
Expand Down Expand Up @@ -80,11 +80,11 @@ To use this approach, include the transcript lengths file with the **raw counts*

Without the transcript lengths, for instance in earlier rnaseq workflow versions, follow the second recommendation in the [tximport documentation](https://bioconductor.org/packages/release/bioc/vignettes/tximport/inst/doc/tximport.html#Downstream_DGE_in_Bioconductor):

> "Use the tximport argument countsFromAbundance='lengthScaledTPM' or 'scaledTPM', then employ the gene-level count matrix txi$counts directly in downstream software, a method we call 'bias corrected counts without an offset'"
> "Use the tximport argument `countsFromAbundance='lengthScaledTPM'` or `'scaledTPM'`, then employ the gene-level count matrix `txi$counts` directly in downstream software, a method we call 'bias corrected counts without an offset'"
This aligns with the **gene_counts_length_scaled.tsv** or **gene_counts_scaled.tsv** matrices in the rnaseq workflow.

Important to note, the documentation advises:
It is important to note that the documentation advises:

> "Do not manually pass the original gene-level counts to downstream methods without an offset."
Expand Down Expand Up @@ -130,7 +130,7 @@ Full list of features metadata are available on GEO platform pages.

The contrasts file references the observations file to define groups of samples to compare. For example, based on the sample sheet above we could define contrasts like:

```console
```csv
id,variable,reference,target,blocking
condition_control_treated,condition,control,treated,
condition_control_treated_blockrep,condition,control,treated,replicate;batch
Expand Down
6 changes: 3 additions & 3 deletions nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
"transcript_length_matrix": {
"type": "string",
"fa_icon": "fas fa-border-all",
"description": "(RNA-seq only): optional transcript length matrix with sample samples and genes as the abundance matrix",
"help_text": "if provided, this file willl be used to provide transcript lengths to DESeq2 to model lengh bias across samples"
"description": "(RNA-seq only): optional transcript length matrix with samples and genes as the abundance matrix",
"help_text": "if provided, this file willl be used to provide transcript lengths to DESeq2 to model length bias across samples"
},
"affy_cel_files_archive": {
"type": "string",
Expand Down Expand Up @@ -359,7 +359,7 @@
"exploratory_n_features": {
"type": "integer",
"default": 500,
"description": "Number of features selected before certain exploratory analyses. If -1, will use all features",
"description": "Number of features selected before certain exploratory analyses. If -1, will use all features.",
"fa_icon": "fas fa-list-ol"
},
"exploratory_whisker_distance": {
Expand Down

0 comments on commit 47ef421

Please sign in to comment.