mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
e526eae472
* initial commit hisat2/build * initial commit hisat2/build * changed names for hisat2 * fixed directory structure and args * added splice site test data * added splice site inputs * replaced list with individual args * fixed removed commas * added test yml file * updated hisat2 conda version * added meta.yml * added meta.yml description * added meta.yml inputs * added meta.yml outputs * update conda version for hisat2 * removed trailing whitespace meta.yml * fixed version number for containers * added test data to test config * updated for new test logic * fix pytest issue? * fix pytest issue * fixed wrong tool in meta.yaml * updated tets.yaml name * handle build bug for testing * handle build bug for testing in yaml * moved test folder to fix build bug * use old hisat2 version to avoid conda giving inconsistent md5sum * initial commit * removed temp file * added meta yaml * add to pytest * added tests * added test yml * add align meta yaml * add hisat2 align to pytest * remove need for splice data by calling process * add hisat2 align se test * add hisat2 align pe test * update names hisat2 align * update software pytest for using mutiple modules * remove splice site test data since using module instead * remove splice site from config since using module instead * fixed extra brace * added hisat2 align test.yml * removed md5sum for bam files * updated build md5sums * Apply suggestions from code review Co-authored-by: Nicholas TODA <nicholas.toda@mnhn.fr> Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
70 lines
No EOL
5.9 KiB
Text
70 lines
No EOL
5.9 KiB
Text
// Base directory for test data
|
|
def test_data_dir = "${launchDir}/tests/data/"
|
|
|
|
params {
|
|
test_data {
|
|
'sarscov2' {
|
|
'genome' {
|
|
genome_fasta = "${test_data_dir}/genomics/sarscov2/genome/genome.fasta"
|
|
genome_fasta_fai = "${test_data_dir}/genomics/sarscov2/genome/genome.fasta.fai"
|
|
genome_dict = "${test_data_dir}/genomics/sarscov2/genome/genome.dict"
|
|
genome_gff3 = "${test_data_dir}/genomics/sarscov2/genome/genome.gff3"
|
|
genome_gtf = "${test_data_dir}/genomics/sarscov2/genome/genome.gtf"
|
|
genome_sizes = "${test_data_dir}/genomics/sarscov2/genome/genome.sizes"
|
|
transcriptome_fasta = "${test_data_dir}/genomics/sarscov2/genome/transcriptome.fasta"
|
|
transcriptome_paf = "${test_data_dir}/genomics/sarscov2/genome/transcriptome.paf"
|
|
|
|
test_bed = "${test_data_dir}/genomics/sarscov2/genome/bed/test.bed"
|
|
test_bed_gz = "${test_data_dir}/genomics/sarscov2/genome/bed/test.bed.gz"
|
|
test2_bed = "${test_data_dir}/genomics/sarscov2/genome/bed/test2.bed"
|
|
test_bed12 = "${test_data_dir}/genomics/sarscov2/genome/bed/test.bed12"
|
|
baits_bed = "${test_data_dir}/genomics/sarscov2/genome/bed/baits.bed"
|
|
|
|
kraken2 = "${test_data_dir}/genomics/sarscov2/genome/db/kraken2"
|
|
kraken2_tar_gz = "${test_data_dir}/genomics/sarscov2/genome/db/kraken2.tar.gz"
|
|
}
|
|
'illumina' {
|
|
test_single_end_bam = "${test_data_dir}/genomics/sarscov2/illumina/bam/test_single_end.bam"
|
|
test_single_end_sorted_bam = "${test_data_dir}/genomics/sarscov2/illumina/bam/test_single_end.sorted.bam"
|
|
test_single_end_sorted_bam_bai = "${test_data_dir}/genomics/sarscov2/illumina/bam/test_single_end.sorted.bam.bai"
|
|
test_paired_end_bam = "${test_data_dir}/genomics/sarscov2/illumina/bam/test_paired_end.bam"
|
|
test_paired_end_sorted_bam = "${test_data_dir}/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam"
|
|
test_paired_end_sorted_bam_bai = "${test_data_dir}/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam.bai"
|
|
test_methylated_paired_end_bam = "${test_data_dir}/genomics/sarscov2/illumina/bam/test_methylated_paired_end.bam"
|
|
test_methylated_paired_end_sorted_bam = "${test_data_dir}/genomics/sarscov2/illumina/bam/test_methylated_paired_end.sorted.bam"
|
|
test_methylated_paired_end_sorted_bam_bai = "${test_data_dir}/genomics/sarscov2/illumina/bam/test_methylated_paired_end.sorted.bam.bai"
|
|
test_unaligned_bam = "${test_data_dir}/genomics/sarscov2/illumina/bam/test_unaligned.bam"
|
|
|
|
test_1_fastq_gz = "${test_data_dir}/genomics/sarscov2/illumina/fastq/test_1.fastq.gz"
|
|
test_2_fastq_gz = "${test_data_dir}/genomics/sarscov2/illumina/fastq/test_2.fastq.gz"
|
|
test2_1_fastq_gz = "${test_data_dir}/genomics/sarscov2/illumina/fastq/test2_1.fastq.gz"
|
|
test2_2_fastq_gz = "${test_data_dir}/genomics/sarscov2/illumina/fastq/test2_2.fastq.gz"
|
|
test_methylated_1_fastq_gz = "${test_data_dir}/genomics/sarscov2/illumina/fastq/test_methylated_1.fastq.gz"
|
|
test_methylated_2_fastq_gz = "${test_data_dir}/genomics/sarscov2/illumina/fastq/test_methylated_2.fastq.gz"
|
|
|
|
test_baserecalibrator_table = "${test_data_dir}/genomics/sarscov2/illumina/gatk/test.baserecalibrator.table"
|
|
|
|
test_vcf = "${test_data_dir}/genomics/sarscov2/illumina/vcf/test.vcf"
|
|
test_vcf_gz = "${test_data_dir}/genomics/sarscov2/illumina/vcf/test.vcf.gz"
|
|
test_vcf_gz_tbi = "${test_data_dir}/genomics/sarscov2/illumina/vcf/test.vcf.gz.tbi"
|
|
test2_vcf = "${test_data_dir}/genomics/sarscov2/illumina/vcf/test2.vcf"
|
|
test2_vcf_gz = "${test_data_dir}/genomics/sarscov2/illumina/vcf/test2.vcf.gz"
|
|
test2_vcf_gz_tbi = "${test_data_dir}/genomics/sarscov2/illumina/vcf/test2.vcf.gz.tbi"
|
|
test3_vcf = "${test_data_dir}/genomics/sarscov2/illumina/vcf/test3.vcf"
|
|
test3_vcf_gz = "${test_data_dir}/genomics/sarscov2/illumina/vcf/test3.vcf.gz"
|
|
test3_vcf_gz_tbi = "${test_data_dir}/genomics/sarscov2/illumina/vcf/test3.vcf.gz.tbi"
|
|
}
|
|
'nanopore' {
|
|
test_sorted_bam = "${test_data_dir}/genomics/sarscov2/nanopore/bam/test.sorted.bam"
|
|
test_sorted_bam_bai = "${test_data_dir}/genomics/sarscov2/nanopore/bam/test.sorted.bam.bai"
|
|
|
|
test_fastq_gz = "${test_data_dir}/genomics/sarscov2/nanopore/fastq/test.fastq.gz"
|
|
}
|
|
}
|
|
'homo_sapiens' {
|
|
'illumina' {
|
|
test_paired_end_bam = "${test_data_dir}/genomics/homo_sapiens/illumina/bam/test_paired_end.bam"
|
|
}
|
|
}
|
|
}
|
|
} |