Skip to content

Commit

Permalink
Fix MD tag and also remove defaults channel from envs (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika authored Jan 23, 2025
1 parent e2924c9 commit 8f67678
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion environments/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: alignment-variants
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- python=3
- fastp=0.23.2
Expand Down
1 change: 0 additions & 1 deletion environments/plot_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: alignment-variants-plot-coverage
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- python=3
- seaborn=0.13.2
Expand Down
4 changes: 2 additions & 2 deletions modules/alignment_variants.nf
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ process minimap2 {
printf -- " value: null\\n" >> ${sample_id}_minimap2_provenance.yml
printf -- " - parameter: -x\\n" >> ${sample_id}_minimap2_provenance.yml
printf -- " value: map-ont\\n" >> ${sample_id}_minimap2_provenance.yml
printf -- " - parameter: -MD\\n" >> ${sample_id}_minimap2_provenance.yml
printf -- " - parameter: --MD\\n" >> ${sample_id}_minimap2_provenance.yml
printf -- " value: null\\n" >> ${sample_id}_minimap2_provenance.yml
printf -- " - tool_name: samtools\\n" >> ${sample_id}_minimap2_provenance.yml
printf -- " tool_version: \$(samtools 2>&1 | grep 'Version' | cut -d ' ' -f 2)\\n" >> ${sample_id}_minimap2_provenance.yml
Expand All @@ -125,7 +125,7 @@ process minimap2 {
-t ${minimap2_threads} \
-ax map-ont \
-R "@RG\\tID:${sample_id}-ONT\\tSM:${sample_id}\\tPL:ONT" \
-MD \
--MD \
${ref} \
${reads} \
| samtools view -@ 2 -h -F ${samtools_view_filter_flags} \
Expand Down

0 comments on commit 8f67678

Please sign in to comment.