Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
4cc7e86
Add checks for all possilbe extensions
apeltzer Dec 1, 2019
493fbaa
Get rid of former channels
apeltzer Dec 1, 2019
0f841be
More changes
apeltzer Dec 1, 2019
d854cd0
Small comments for tomorrow to get into this easier
apeltzer Dec 1, 2019
870b9b6
Merge remote-tracking branch 'upstream/dev' into TSV
apeltzer Dec 4, 2019
30312d3
Merge remote-tracking branch 'upstream/dev' into TSV
apeltzer Dec 19, 2019
89629f1
Merge branch 'tsv-input' into TSV
apeltzer Feb 5, 2020
e8bbe29
Merge pull request #347 from apeltzer/TSV
apeltzer Feb 5, 2020
83e5380
Fixed a lot of missing close brackets, and the TSV map creation (most…
jfy133 Feb 16, 2020
7b2edcd
Now also properly loading paired end FASTQs
jfy133 Feb 16, 2020
c511b6d
Standardised map headers and started making BAM preprocessing input c…
jfy133 Feb 16, 2020
27a534e
Missed one BAM channel
jfy133 Feb 16, 2020
26ae7e9
Merge pull request #363 from nf-core/dev
apeltzer Mar 5, 2020
96362a7
Add little bit of documentation
jfy133 Mar 18, 2020
50ffe51
docs/usage.md
jfy133 Mar 18, 2020
141c9c2
Replace camel for snake
jfy133 Mar 18, 2020
d3f201e
Fix TSV parsing
jfy133 Mar 18, 2020
d0a46b8
Updated usage docs
jfy133 Mar 20, 2020
22f5020
Start working on FASTQ route
jfy133 Mar 20, 2020
ae0963e
Trying to work out how to detect PE/SE data for AR
jfy133 Mar 20, 2020
ffa01f3
Drafted post AR tuple input/output
jfy133 Mar 20, 2020
f8b3c52
Fixed bwa bam output
jfy133 Mar 23, 2020
e6974cd
TSV up to post-mapping flagstat for default run
jfy133 Mar 24, 2020
560a3be
Added TSV for flagstat
jfy133 Mar 25, 2020
ccf1583
Started removing BAI column in TSV
jfy133 Mar 25, 2020
d6f8804
Completed all input/tuple insertions. collect() processes not current…
jfy133 Mar 26, 2020
85cbb75
Fix convertBam process, bam only TSV input doesn't activate downstrea…
jfy133 Mar 26, 2020
c7b02e7
Fix bam input and started addressing collect issue
jfy133 Mar 27, 2020
99dc4a6
Fixed malt collect by removing tuple, but sexdet and nuccontam not wo…
jfy133 Mar 28, 2020
292a93f
Partially change github actions tests to a new TSV test config
jfy133 Mar 29, 2020
3a35e2f
Add test_tsv config to nextflow.config
jfy133 Mar 29, 2020
b9fc69d
Fix .collect process with TSV input hopefully, and add additional TSV…
jfy133 Mar 30, 2020
26e357e
Fixed CI profiles and added markduplicate test
jfy133 Mar 30, 2020
cc74d41
Config typo fix
jfy133 Mar 30, 2020
cc600e8
Actually set the right config paths in nextflow.config to the test co…
jfy133 Mar 30, 2020
e9c21a9
Fixed skipping collapse
jfy133 Apr 1, 2020
4b9ccc8
Replace reads input with TSV varaibles for non-aln mappers
jfy133 Apr 1, 2020
2886af5
Fixed CircularMapper
jfy133 Apr 1, 2020
bcaf4c5
Fix HC test profile config
jfy133 Apr 1, 2020
59b918f
Fixed haplotype caller exporting VCF file
jfy133 Apr 1, 2020
06c3f7f
Removed some TODOs
jfy133 Apr 1, 2020
24ddbfb
Merge branch 'tsv-input' into tsv-input
jfy133 Apr 1, 2020
38d517a
Merge pull request #375 from jfy133/tsv-input
jfy133 Apr 1, 2020
221f3b4
Hopefully fixed strip_fastq by joining the two input chanels
jfy133 Apr 2, 2020
1d7deb8
Merge branch 'tsv-input' of github.com:jfy133/eager into tsv-input
jfy133 Apr 2, 2020
d4325c4
Fixed UG genotyping and MultiVCFanalyzer
jfy133 Apr 3, 2020
858f814
Merge pull request #380 from jfy133/tsv-input
jfy133 Apr 3, 2020
8da9978
Added (untested) library merging process
jfy133 Apr 10, 2020
5c5ff3b
Got post-dedup BAM library merging working except for MVA which fails…
jfy133 Apr 11, 2020
dd10888
Fix MVA Incompatible VCF generation with picard
jfy133 Apr 14, 2020
d957c1a
Added some initial MultiQC cleanup to make easier to read
jfy133 Apr 14, 2020
786c549
Added lots of docs and parameter update
jfy133 Apr 15, 2020
f644f59
Updated test profiles
jfy133 Apr 15, 2020
a1a1d8b
FAQ/usage linting
jfy133 Apr 15, 2020
f093890
Fixed lane merging input into BWA when not collapsing
jfy133 Apr 15, 2020
d83e649
Add test for complex lane/library merging
jfy133 Apr 15, 2020
16f2d74
Merge pull request #384 from jfy133/tsv-input
jfy133 Apr 16, 2020
b2b411b
Fix docs images
apeltzer Apr 18, 2020
e0ce022
Merge pull request #39 from nf-core/tsv-input
jfy133 Apr 20, 2020
9d5274f
Update TSV docs for column descriptions
jfy133 Apr 20, 2020
176ffb4
Got lane merging for Strip FASTQ Working I think
jfy133 Apr 21, 2020
90e999a
Removed skip_mapping flag, as implied with BAM and not run with --run…
jfy133 Apr 21, 2020
74a1297
Fix fastp
jfy133 Apr 21, 2020
0c39460
Remove skip_mapping flag as now implicit
jfy133 Apr 21, 2020
fd1f2c5
Fixed some default parameters, FASTP test command and added new test …
jfy133 Apr 21, 2020
dac2c7b
Fixed FASTP null pointer exception in bypass
jfy133 Apr 23, 2020
522fe1e
Added nf-core/eager logo to multiqc report inspired by https://github…
jfy133 Apr 23, 2020
b1f4afc
Merge pull request #388 from jfy133/tsv-input
jfy133 Apr 23, 2020
a9fa339
Usage markdown table and ToC update
jfy133 Apr 25, 2020
aaf8244
Add files via upload
ZandraFagernas Apr 28, 2020
ecc898f
Merge pull request #391 from ZandraFagernas/tsv_input
jfy133 Apr 28, 2020
4774ef2
Remove useless group/pop/age, but add colour column for correct fastp
jfy133 Apr 29, 2020
0a02c36
Fix merge
jfy133 Apr 29, 2020
3d60fff
Merge pull request #40 from nf-core/tsv-input
jfy133 Apr 29, 2020
bf18ced
Added Zandra's example image
jfy133 Apr 29, 2020
632efd7
Markdown fix for Zandra's image for TSV merging
jfy133 Apr 29, 2020
160d195
Fix path for Zandra's image for TSV merging
jfy133 Apr 29, 2020
c1f1b4d
Undo half previous commits and start again
jfy133 Apr 29, 2020
24c3ed9
Fixed 'clever' automated fastp branching issue
jfy133 Apr 29, 2020
89a2084
Remove leftover dumps
jfy133 Apr 29, 2020
6b3dba5
Fixed strip input FASTQ by removing leftover colour var
jfy133 Apr 29, 2020
b50afa4
Properly detect input is BAM only
jfy133 Apr 29, 2020
151e794
Merge pull request #393 from jfy133/tsv-input
jfy133 Apr 29, 2020
5bbbc01
Add files via upload
ZandraFagernas Apr 30, 2020
dfbd68e
Merge pull request #394 from ZandraFagernas/tsv_input
jfy133 May 1, 2020
fd0bd17
Reorganised and standardised docs images
jfy133 May 1, 2020
0a3c7fc
Fixed links in docs MDs
jfy133 May 1, 2020
4a991c5
Syncronised all latest docs images from Zandra
jfy133 May 1, 2020
870eb01
fix doc images links
jfy133 May 1, 2020
c3fe4fa
Fix paths to docs images
jfy133 May 1, 2020
7fcce19
Lots of typo fixes in docs. Apparently I really can't spell Available…
jfy133 May 1, 2020
6bb8899
Update docs with more typo fixes and update AdapterRemvoal output dir…
jfy133 May 1, 2020
65f3192
Added --single_stranded flag and set up trimbam smart logic
jfy133 May 1, 2020
3686c2b
Fixed genotyping input source logic. Trimmed and untrimmed bams now h…
jfy133 May 1, 2020
f0a52ed
Merge pull request #395 from jfy133/tsv-input
jfy133 May 1, 2020
ea8720e
Add files via upload
ZandraFagernas May 1, 2020
ada1b1d
Add files via upload
ZandraFagernas May 1, 2020
414e3f8
Merge pull request #397 from ZandraFagernas/tsv-input
jfy133 May 1, 2020
3de7a76
Delete tsvinput_merging_names.png
jfy133 May 1, 2020
29a19ea
Delete tsvinput_merging_names.svg
jfy133 May 1, 2020
c70c164
Fix file names for docs images TSV merging
jfy133 May 1, 2020
5ad1e59
Does not yet work with supplied FASTQs
apeltzer May 1, 2020
5acd944
Merge branch 'tsv-input' of https://github.com/nf-core/eager into tsv…
apeltzer May 1, 2020
9453df6
Fix email attachment because of wrong report email channel
jfy133 May 3, 2020
aedf42a
Added ability to attach multiqc reports to mail command
jfy133 May 3, 2020
5549208
Put condition whether to send mail attachment if too big
jfy133 May 4, 2020
d46dd5f
Fix merge conflict
jfy133 May 4, 2020
916403a
Merge pull request #399 from jfy133/tsv-input
jfy133 May 4, 2020
3d2dd66
Merge pull request #44 from nf-core/tsv-input
jfy133 May 7, 2020
651749c
Got file path reads working and updated docs
jfy133 May 7, 2020
e47586a
Merge pull request #407 from jfy133/tsv-input
jfy133 May 7, 2020
4d37f76
Linting
jfy133 May 7, 2020
979fcfd
Linting and fix tests
jfy133 May 7, 2020
a3d82dd
Force --bams to --single_end and add additional tests for each direct…
jfy133 May 7, 2020
7feba14
Merge pull request #408 from jfy133/tsv-input
jfy133 May 7, 2020
1e8410f
Linting
jfy133 May 7, 2020
94421d0
Fix typo in error message
jfy133 May 8, 2020
03fd055
Add actual dummy postfilterstats file
jfy133 May 8, 2020
608f1c9
Merge pull request #411 from jfy133/tsv-input
jfy133 May 8, 2020
01ec3ec
Added extra direct input reads validation and standardised error mess…
jfy133 May 8, 2020
754f14b
Updated docs and standardised reference to --input
jfy133 May 8, 2020
bc7c58e
Add extra validation to direct input and standardise error messages
jfy133 May 8, 2020
b5721b4
Address possible fastp multiQC conflicts https://github.com/nf-core/e…
jfy133 May 10, 2020
10693e7
Merge pull request #413 from jfy133/tsv-input
jfy133 May 10, 2020
05fe74c
Fix incorrect pipeline-specific profiles loading path
jfy133 May 11, 2020
d465022
Fix incorrect pipeline-specific profiles loading path - more
jfy133 May 11, 2020
a051265
Try to fix pipeline-specific config loading and bump MultiQC base par…
jfy133 May 12, 2020
8a6bde0
Merge pull request #414 from jfy133/tsv-input
jfy133 May 12, 2020
c5b09ba
Remove out-of-date explicit AWS profile
jfy133 May 12, 2020
82fd8c5
Re-add nf-core profile loading :sweat_smile:
jfy133 May 12, 2020
c82adb1
Merge pull request #415 from jfy133/tsv-input
jfy133 May 12, 2020
fa30524
Added everything to CHANGELOG for so far
jfy133 May 12, 2020
ebcafa5
Code formatting cleanup
jfy133 May 13, 2020
b2b8011
Linting
jfy133 May 13, 2020
a2eb5b3
Merge pull request #416 from jfy133/tsv-input
jfy133 May 13, 2020
223aab5
Added sort to ensure R1 comes before R2 for consistency as reported h…
jfy133 May 13, 2020
e3477b4
Merge pull request #417 from jfy133/tsv-input
jfy133 May 13, 2020
1c14ce3
Merge remote-tracking branch 'upstream/tsv-input' into tsv-input
apeltzer May 13, 2020
5b07353
Add in AWS Full Size Tests
apeltzer May 13, 2020
de18b0b
Added extra multiqc exts, publish lib. merged bams, removed buggy .so…
jfy133 May 14, 2020
02746c2
Linting, updated links added additional MultiQC extenion removes
jfy133 May 14, 2020
1016d75
Move qualimap to after final library merging, so one qualimap report …
jfy133 May 14, 2020
d4e14fd
Update CI due to --bam input requirement changes
jfy133 May 14, 2020
accf707
Typo fix for CI
jfy133 May 14, 2020
1573310
Fix dedup name cleaning
jfy133 May 14, 2020
5c5f320
Fix markdup with new naming system
jfy133 May 14, 2020
eb7671a
Merge pull request #421 from jfy133/tsv-input
jfy133 May 14, 2020
a9a8c4c
add sanity check on min_support_reads type
maxibor May 15, 2020
9d2ab9a
Fix typo in min_support_reads check
jfy133 May 15, 2020
2b26ba1
Remove unused flags from CI tests
jfy133 May 15, 2020
ee65742
Merge branch 'dev' into tsv-input
jfy133 May 15, 2020
af2769d
First half of code review from Maxime and validation bug fix
jfy133 May 15, 2020
2472dd7
Remove unncessary prefix varaibles
jfy133 May 15, 2020
7009a38
Fix usage ToC headers
jfy133 May 15, 2020
9c1d59a
Prefix-clean up bug fix
jfy133 May 15, 2020
8aec6d3
Remove duplicate mapper selection validation
jfy133 May 15, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: nf-core AWS test
# This workflow is triggered on push to the master branch and on published releases.
# It runs the -profile 'test' on AWS batch

on:
push:
branches:
- master
release:
types: [published]

jobs:
run-awstest:
name: Run AWS test
runs-on: ubuntu-latest
steps:
- name: Setup Miniconda
uses: goanpeca/setup-miniconda@v1.0.2
with:
auto-update-conda: true
python-version: 3.7
- name: Install awscli
run: conda install -c conda-forge awscli
- name: Start AWS batch job
env:
AWS_ACCESS_KEY_ID: ${{secrets.AWS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_KEY_SECRET}}
TOWER_ACCESS_TOKEN: ${{secrets.TOWER_ACCESS_TOKEN}}
run: |
aws batch submit-job --region eu-west-1 --job-name nf-core-eager --job-queue 'default-8b3836e0-5eda-11ea-96e5-0a2c3f6a2a32' --job-definition nextflow --container-overrides '{"command": ["nf-core/eager", "-r '"${GITHUB_SHA}"' -profile test --outdir s3://nf-core-awsmegatests/eager/results-'"${GITHUB_SHA}"' -w s3://nf-core-awsmegatests/eager/work-'"${GITHUB_SHA}"' -with-tower"], "environment": [{"name": "TOWER_ACCESS_TOKEN", "value": "'"$TOWER_ACCESS_TOKEN"'"}]}'
81 changes: 49 additions & 32 deletions .github/workflows/ci.yml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ results/
tests/
testing/
*.pyc
main_playground.nf
21 changes: 18 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,35 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### `Added`

* **Major** Automated Cloud Tests with large-scale data on [AWS](https://aws.amazon.com/)
* **Major** Re-wrote input logic to accept a TSV 'map' file in addition to direct paths to FASTQ
* **Major** Lane and library merging implement
* When using TSV input, one libraries with the multiple _lane_ will be merged together, before mapping
* Strip FASTQ will also produce a lane merged 'raw' but 'stripped' FASTQ file
* When using TSV input, one sample with multiple (same treatment) libraries will be merged together.
* Important: direct FASTQ paths will not have this functionality. TSV is required.
* Added sanity check and clearer error message when `--fasta_index` is provided and filepath does not end in `.fai`.
* Added basic json_schema
* Improved error messages
* Added ability for automated emails using `mailutils` to also send MultiQC reports
* General documentation additions and cleaning, updated figures with CC-BY license

### `Fixed`

* [#368](https://github.com/nf-core/eager/issues/368) - Fixed the profile `test` to contain a parameter for `--paired_end`.
* Mini bugfix for typo in line 1260+1261
* Added basic json_schema
* [#374](https://github.com/nf-core/eager/issues/374) - Fixed output documentation rendering not containing images
* [#379](https://github.com/nf-core/eager/issues/378) - Fixed insufficient memory requirements for FASTQC edge case
* Set correct recommended bwa mapping parameters from [Schubert et al. 2012](https://doi.org/10.1186/1471-2164-13-178)
* [#390](https://github.com/nf-core/eager/issues/390) - Renamed clipped/merged output directory to be more descriptive
* [#398](https://github.com/nf-core/eager/issues/498) - Stopped incompatible FASTA indexes being accepted
* [#400](https://github.com/nf-core/eager/issues/400) - Set correct recommended bwa mapping parameters from [Schubert et al. 2012](https://doi.org/10.1186/1471-2164-13-178)
* [#410](https://github.com/nf-core/eager/issues/410) - Fixed nf-core/configs not being loaded properly
* Increase MultiQC process memory requirements to ensure enough memory for large runs

### `Dependencies`

* Latest version of DeDup (0.12.6) which now reports mapped reads after deduplication
* Latest version of ANGSD (0.933) which doesn't seg fault when running contamination on BAMs with insufficent reads
* Latest version of ANGSD (0.933) which doesn't seg fault when running contamination on BAMs with insufficient reads

## [2.1.0] - 2020-03-05 - "Ravensburg"

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Additional functionality contained by the pipeline currently includes:

5. Start running your own ancient DNA analysis!

nextflow run nf-core/eager -profile <docker/singularity/conda> --reads '*_R{1,2}.fastq.gz' --fasta '<your_reference>.fasta'
nextflow run nf-core/eager -profile <docker/singularity/conda> --input '*_R{1,2}.fastq.gz' --fasta '<your_reference>.fasta'

6. Once your run has completed successfully, clean up the intermediate files.

Expand Down Expand Up @@ -136,11 +136,12 @@ Those who have provided conceptual guidance, suggestions, bug reports etc.
* [Irina Velsko](https://github.com/ivelsko)
* [Katerine Eaton](https://github.com/ktmeaton)
* [Luc Venturini](https://github.com/lucventurini)
* Marcel Keller
* [Marcel Keller](https://github.com/marcel-keller)
* [Pierre Lindenbaum](https://github.com/lindenb)
* [Pontus Skoglund](https://github.com/pontussk)
* [Raphael Eisenhofer](https://github.com/EisenRa)
* [Torsten Günter](https://bitbucket.org/tguenther/)
* [Kevin Lord](https://github.com/lordkev)

If you've contributed and you're missing in here, please let us know and we will add you in of course!

Expand Down
1 change: 1 addition & 0 deletions assets/dummy_postfilterflagstat.stats
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

55 changes: 41 additions & 14 deletions assets/multiqc_config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,36 @@
custom_logo: 'nf-core_eager_logo.png'
custom_logo_url: https://github.com/nf-core/eager/
custom_logo_title: 'nf-core/eager'

report_comment: >
This report has been generated by the <a href="https://github.com/nf-core/eager" target="_blank">nf-core/eager</a>
analysis pipeline. For information about how to interpret these results, please see the
<a href="https://github.com/nf-core/eager" target="_blank">documentation</a>.
extra_fn_clean_exts:
- '.fastq.gz'
- '.fastq'
- '.fq.gz'
- '.fq'
- '.bam'
- '_fastp'
- '.pe.settings'
- '.se.settings'
- '.settings'
- '.pe.combined'
- '.se.truncated'
- '.mapped'
- '.mapped_rmdup'
- '.mapped_rmdup_stats'
- '_libmerged_rg_rmdup'
- '_libmerged_rg_rmdup_stats'
- '_postfilterflagstat.stats'
- '_flagstat.stat'
- '.filtered'
- '.filtered_rmdup'
- '.filtered_rmdup_stats'
- '_libmerged_rg_add_stats'
- '_rmdup'

top_modules:
- 'fastqc':
name: 'FastQC (pre-AdapterRemoval)'
Expand Down Expand Up @@ -62,20 +88,21 @@ table_columns_visible:
mapped_passed: True
DeDup:
dup_rate: False
QualiMap:
mean_coverage: True
1_x_pc: True
5_x_pc: True
percentage_aligned: False
mtnucratio:
mt_nuc_ratio: True
DamageProfiler:
3 Prime1: True
3 Prime2: True
5 Prime1: True
5 Prime2: True
mean_readlength: True
median_readlength: True
QualiMap:
mean_coverage: True
1_x_pc: True
5_x_pc: True
percentage_aligned: False
mtnucratio:
mt_nuc_ratio: True

table_columns_placement:
FastQC (pre-AdapterRemoval):
total_sequences: 100
Expand All @@ -96,6 +123,13 @@ table_columns_placement:
endogenous_dna_post: 590
DeDup:
clusterfactor: 600
DamageProfiler:
3 Prime1: 1000
3 Prime2: 1010
5 Prime1: 1020
5 Prime2: 1030
mean_readlength: 1040
median_readlength: 1050
QualiMap:
mean_coverage: 700
median_coverage: 710
Expand All @@ -112,13 +146,6 @@ table_columns_placement:
sexdeterrmine:
RateX: 900
RateY: 910
DamageProfiler:
3 Prime1: 1000
3 Prime2: 1010
5 Prime1: 1020
5 Prime2: 1030
mean_readlength: 1040
median_readlength: 1050
read_count_multiplier: 1
read_count_prefix: ''
read_count_desc: ''
Expand Down
22 changes: 22 additions & 0 deletions conf/test_tsv.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run nf-core/eager -profile test, docker (or singularity, or conda)
*/

params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
genome = false
//Input data
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/mammoth_design_fastq.tsv'
// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/reference/Mammoth/Mammoth_MT_Krause.fasta'
}
22 changes: 22 additions & 0 deletions conf/test_tsv_bam.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run nf-core/eager -profile test, docker (or singularity, or conda)
*/

params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on Travis
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
genome = false
//Input data
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/mammoth_design_bam.tsv'
// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/reference/Mammoth/Mammoth_MT_Krause.fasta'
}
22 changes: 22 additions & 0 deletions conf/test_tsv_complex.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run nf-core/eager -profile test, docker (or singularity, or conda)
*/

params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on GitHub Actions
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
genome = false
//Input data
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/mammoth_design_fastq_multilane_multilib.tsv'
// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/reference/Mammoth/Mammoth_MT_Krause.fasta'
}
22 changes: 22 additions & 0 deletions conf/test_tsv_fna.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run nf-core/eager -profile test, docker (or singularity, or conda)
*/

params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on Travis
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
genome = false
//Input data
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/mammoth_design_fastq.tsv'
// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/reference/Mammoth/Mammoth_MT_Krause.fna'
}
23 changes: 23 additions & 0 deletions conf/test_tsv_humanbam.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run nf-core/eager -profile test, docker (or singularity, or conda)
*/

params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on Travis
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
genome = false
//Input data
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Human/human_design_bam.tsv'
// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/reference/Mammoth/Mammoth_MT_Krause.fasta'
sexdeterrmine_bedfile = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/reference/Human/1240K.pos.list_hs37d5.0based.bed.gz'
}
25 changes: 25 additions & 0 deletions conf/test_tsv_kraken.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run nf-core/eager -profile test, docker (or singularity, or conda)
*/

params {
config_profile_name = 'Test profile kraken'
config_profile_description = 'Minimal test dataset to check pipeline function with kraken metagenomic profiler'
// Limit resources so that this can run on Travis
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
genome = false
//Input data
metagenomic_tool = 'kraken'
run_metagenomic_screening = true
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/mammoth_design_fastq.tsv'
// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/reference/Mammoth/Mammoth_MT_Krause.fasta'
database = 'https://github.com/nf-core/test-datasets/raw/eager/databases/kraken/eager_test.tar.gz'
}
22 changes: 22 additions & 0 deletions conf/test_tsv_pretrim.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* -------------------------------------------------
* Nextflow config file for running tests
* -------------------------------------------------
* Defines bundled input files and everything required
* to run a fast and simple test. Use as follows:
* nextflow run nf-core/eager -profile test, docker (or singularity, or conda)
*/

params {
config_profile_name = 'Test profile'
config_profile_description = 'Minimal test dataset to check pipeline function'
// Limit resources so that this can run on Travis
max_cpus = 2
max_memory = 6.GB
max_time = 48.h
genome = false
//Input data
input = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/testdata/Mammoth/mammoth_design_fastq_pretrim.tsv'
// Genome references
fasta = 'https://raw.githubusercontent.com/nf-core/test-datasets/eager/reference/Mammoth/Mammoth_MT_Krause.fasta'
}
19 changes: 19 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,25 @@ the output folder. Otherwise you may end up a lot of large intermediate files
being left! You can clean a nextflow run of all intermediate files with
`nextflow clean -f -k` or delete the `work/` directory.

## I get a file name collision error during library merging

When using TSV input, nf-core EAGER will attempt to merge all files with the
same `Sample ID`. However, if you have specified the same `Library_ID` for two
sets of FASTQ files you will likely receive an error such as

```bash
Error executing process > 'library_merge (JK2782)'
Caused by:
Process `library_merge` input file name collision -- There are multiple input files for each of the following file names: JK2782.mapped_rmdup.bam.csi, JK2782.mapped_rmdup.bam
Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`
Execution cancelled -- Finishing pending tasks before exit
```

This could happen when you specify the same `Library_ID` but with different
sequencing configurations (PE vs SE).

In this case you must modify your `Library_ID` accordingly to make them unique.

## How to investigate a failed run

As with most pipelines, nf-core/eager can sometimes fail either through a
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading