Skip to content

Commit

Permalink
adapt config files
Browse files Browse the repository at this point in the history
  • Loading branch information
AmstlerStephan committed Mar 6, 2024
1 parent 845a98f commit d3191d2
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 10 deletions.
28 changes: 23 additions & 5 deletions config/custom.config
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,31 @@ params {

// adaptable parameters

output_format = "fastq"
filter_strategy_clusters = "quality"
//READ FILTERING
min_read_length = 0
min_qscore = 10

call_variants = true
variant_caller = "freebayes"
// SUBSAMPLING
subsampling = false
subsampling_seed = 11
subsampling_readnumber = 100000

// VARIANT_CALLING
call_variants = false
variant_caller = "freebayes"

medaka_model = "r1041_e82_400bps_hac_g615"
// ADVANCED
min_reads_per_barcode = 1000
umi_errors = 2
max_dist_umi = 2
min_reads_per_cluster = 20
max_reads_per_cluster = 60
min_consensus_quality = 40
masking_strategy = "softmask"
filter_strategy_clusters = "quality"
min_overlap = 0.95
balance_strands = true
medaka_model = "r1041_e82_400bps_hac_g615"
}

// NEXTFLOW REPORTING
Expand Down
4 changes: 1 addition & 3 deletions env/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ RUN conda update -y conda && \
conda clean --all

WORKDIR "/opt"
RUN wget https://github.com/seppinho/mutserve/releases/download/v2.0.0-rc15/mutserve.zip && \
unzip mutserve.zip
ENV PATH="/opt/mutserve:${PATH}"
RUN wget https://github.com/seppinho/mutserve/releases/download/v2.0.0-rc13.lpa/mutserve_LPA_adapted.jar


2 changes: 1 addition & 1 deletion lib/processes/variant_calling/mutserve.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ process MUTSERVE {

script:
"""
mutserve call \
java -jar /opt/mutserve_LPA_adapted.jar call \
--output ${type}.vcf \
--write-raw \
--reference ${reference} \
Expand Down
3 changes: 2 additions & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ params {

// ADVANCED
min_reads_per_barcode = 1000
umi_errors = 3
umi_errors = 2
max_dist_umi = 2
min_reads_per_cluster = 20
max_reads_per_cluster = 60
min_consensus_quality = 40
Expand Down

0 comments on commit d3191d2

Please sign in to comment.