mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-14 05:43:08 +00:00
d6244b42f5
* First commit * putting correct links for singularity and docker containers (just had to search for bioconda+ascat to find them, and then put them in like the rest of the nf-core tools had it * adding first try of relevant commands (not working yet, just took their basic pipeline example * test commit * remove test * starting up work with module after 3.0.0 upgrade * add ascat.prepareHTS statemet * add location of docker for new mulled alleleCounter+ASCAT container * first full run with ASCAT on HG00154.mapped.ILLUMINA.bwa.GBR.low_coverage.20101123.bam * add notes on dropbox download * use a newer pytest_modules.yml * add outpit * trying to align with current Sarek output * adding in FH comments * busy clearing up arguments and testing. Still WIP * first working run, in nextflow, with sarek-like output. Still needs more work on input arguments * cleaning up before writing up findings * testing with putting in arguments in args * draft for solution 3 style for arguments * one more test added * adding FH map * finished testing maps for args * wrap-up cram/crai test successfully * updates to address ability to put in ref.fasta argument for cram running * adding remaining import-HTS commands in as args, and removing the chr21/chr22 only testing to test-nextflow.config * first test with auto-downloading the s3-data (when not given as an argument) * removing download-logic for supporting files, documenting in meta.yml, fixing ref_fasta bug * adding mulled singularity container * removing tests * fix left padding lint issue * lint failure in meta.yml * more linting errors * add when argument * adding stub functionality * add stub run * correct md5sum for versions.yml * more testing with -runstub * stub code in pure bash - not mixed with R * reformat version.yml * get rid of absolute paths in test.yml * correct wrong md5sum * adding allelecount conda link * rename normal_bam to input_bam etc * let the pipeline dev worry about matching the right loci and allele files * dont hardcode default genomebuild * adding download instruction comment * add doi * fix conda addition bug * add args documentation * test new indent * new test with meta.yml indentation * retry with new meta.yml * retry with new meta.yml - now with empty lines around * retry with new meta.yml - remove trailing whitepsace * trying to fix found quote character that cannot start any token error * try with one empty line above triple-quote and no empty line below * trying with pipe character * checking if its the ending triple quote * one more try with meta.yml * test update bioconda versioning for linting failure * test update bioconda versioning for linting failure 2 * testing allelecounter version error on conda Co-authored-by: @lassefolkersen Co-authored-by: @FriederikeHanssen
39 lines
893 B
Text
39 lines
893 B
Text
process {
|
|
|
|
publishDir = { "${params.outdir}/${task.process.tokenize(':')[-1].tokenize('_')[0].toLowerCase()}" }
|
|
|
|
|
|
withName: ASCAT_SIMPLE {
|
|
ext.args = [
|
|
gender : 'XY',
|
|
genomeVersion : 'hg19',
|
|
minCounts : '1',
|
|
min_base_qual : '1',
|
|
min_map_qual : '1',
|
|
chrom_names : 'c("21","22")'
|
|
]
|
|
}
|
|
|
|
|
|
|
|
withName: ASCAT_PLOIDY_AND_PURITY {
|
|
ext.args = [
|
|
gender : 'XX',
|
|
genomeVersion : 'hg19',
|
|
ploidy : '1.7',
|
|
purity : '0.24',
|
|
chrom_names : 'c("21","22")'
|
|
]
|
|
}
|
|
|
|
withName: ASCAT_CRAM {
|
|
ext.args = [
|
|
gender : 'XX',
|
|
genomeVersion : 'hg19',
|
|
ref_fasta : '/home/ec2-user/input_files/fasta/human_g1k_v37.fasta',
|
|
chrom_names : 'c("21","22")'
|
|
]
|
|
}
|
|
|
|
}
|
|
|