Closed priyanka-surana closed 8 months ago
nf-core lint
overall result: Passed :white_check_mark: :warning:Posted for pipeline commit 378ab70
+| ✅ 129 tests passed |+
#| ❔ 18 tests were ignored |#
!| ❗ 4 tests had warnings |!
SAMTOOLS_VIEW
would output BAM back without any changes and with index so should not be a problem but I have added the index step. These tests ran on the farm without errors using nf-core_2.8
nextflow run . -profile test,singularity -ansi-log false
nextflow run . -profile test_raw,singularity -ansi-log false
bsub -R 'select[mem>4000] rusage[mem=4000] span[hosts=1]' -n 2 -M 4000 -J btk_test_full -o btk.%J.o -e btk.%J.e "nextflow run . -profile test_full,singularity,sanger -ansi-log false"
In the Snakemake version of the minimap2 alignment the input are reads in FASTQ format while in this case CRAM/BAM files are transformed to FASTA and aligned again using minimap2: What is the advantage for an user in doing so instead of simply using the input alignment file? Only wanted to clarify why this is useful.
The following test worked as expected with Nextflow 22.10.1:
nextflow run . -profile test_raw,singularity -ansi-log false
Unaligned files can also be in CRAM, BAM format. So if the user provides that and the align flag, now we can align it here and run the rest of the steps. Earlier, the user was required to provide aligned files. This is a step in making this pipeline independent. I can look at adding support for FASTQ as well, but after we sort out the config file.
Closes #79
This PR adds an optional alignment subworkflow. It replicates the one currently in BTK. It is not meant to be high quality alignments. Quick sub-optimal alignments are good enough for BTK and hence this approach with minimap is implemented. Please add suggestions for arguments to improve alignment with Minimap without introducing more extensive aligners like BWAmem.
I would especially like your input on
bin/samplesheet.py
,subworkflows/local/coverage_stats.nf
,subworkflows/local/minimap_alignment.nf
andworkflows/blobtoolkit.nf