Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conda environment names #4327

Merged
merged 3 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 12 additions & 0 deletions .github/conda_env_names.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env cached-nix-shell
#! nix-shell -p fd yq-go

# Find all the environment.ymls
ENV_FILES=$(fd "^environment.yml$" modules/)

for file in $ENV_FILES; do
# Get the "name" field from the meta.yml next to the file
name=$(yq -r '.name' $(dirname "$file")/meta.yml)
# Add a name field in the enviroment.yml at the top of the file
sed -i "1s|^|name: $name\n|" "$file"
done
1 change: 1 addition & 0 deletions modules/nf-core/abacas/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: abacas
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/abricate/run/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: abricate_run
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/abricate/summary/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: abricate_summary
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/abritamr/run/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: abritamr_run
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/adapterremoval/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: adapterremoval
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/adapterremovalfixprefix/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: adapterremovalfixprefix
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/admixture/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: admixture
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/affy/justrma/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: affy_justrma
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/agat/convertspgff2gtf/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: agat_convertspgff2gtf
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/agat/convertspgff2tsv/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: agat_convertspgff2tsv
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/agat/convertspgxf2gxf/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: agat_convertspgxf2gxf
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/agat/spstatistics/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: agat_spstatistics
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/agat/sqstatbasic/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: agat_sqstatbasic
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/agrvate/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: agrvate
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/allelecounter/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: allelecounter
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/ampcombi/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: ampcombi
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/ampir/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: ampir
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/amplify/predict/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: amplify_predict
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/amps/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: amps
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/amrfinderplus/run/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: amrfinderplus_run
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/amrfinderplus/update/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: amrfinderplus_update
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/angsd/contamination/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: angsd_contamination
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/angsd/docounts/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: angsd_docounts
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/annotsv/annotsv/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: annotsv_annotsv
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/annotsv/installannotations/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: annotsv_installannotations
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/antismash/antismashlite/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: antismash_antismashlite
channels:
- conda-forge
- bioconda
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: antismash_antismashlitedownloaddatabases
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/arcashla/extract/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: arcashla_extract
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/aria2/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: aria2
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/ariba/getref/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: ariba_getref
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/ariba/run/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: ariba_run
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/arriba/arriba/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: arriba_arriba
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/arriba/download/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: arriba_download
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/art/illumina/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: art_illumina
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/artic/guppyplex/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: artic_guppyplex
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/artic/minion/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: artic_minion
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/ascat/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: ascat
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/ashlar/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: ashlar
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/assemblyscan/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: assemblyscan
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/ataqv/ataqv/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: ataqv_ataqv
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/ataqv/mkarv/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: ataqv_mkarv
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/atlas/call/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: atlas_call
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/atlas/pmd/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: atlas_pmd
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/atlas/recal/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: atlas_recal
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/atlas/splitmerge/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: atlas_splitmerge
channels:
- conda-forge
- bioconda
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: atlasgeneannotationmanipulation_gtf2featureannotation
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/authentict/deam2cont/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: authentict_deam2cont
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/backsub/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: backsub
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bacphlip/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bacphlip
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bakta/bakta/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bakta_bakta
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bakta/baktadbdownload/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bakta_baktadbdownload
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bamaligncleaner/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bamaligncleaner
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bamcmp/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bamcmp
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bamtools/convert/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bamtools_convert
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bamtools/split/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bamtools_split
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bamtools/stats/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bamtools_stats
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bamutil/trimbam/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bamutil_trimbam
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bandage/image/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bandage_image
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/barrnap/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: barrnap
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bases2fastq/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bases2fastq
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/basicpy/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: basicpy
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bbmap/align/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bbmap_align
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bbmap/bbduk/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bbmap_bbduk
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bbmap/bbnorm/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bbmap_bbnorm
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bbmap/bbsplit/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bbmap_bbsplit
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bbmap/clumpify/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bbmap_clumpify
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bbmap/index/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bbmap_index
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bbmap/pileup/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bbmap_pileup
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bbmap/sendsketch/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bbmap_sendsketch
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bcftools/annotate/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bcftools_annotate
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bcftools/call/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bcftools_call
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bcftools/concat/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bcftools_concat
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bcftools/consensus/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bcftools_consensus
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bcftools/convert/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bcftools_convert
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bcftools/filter/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bcftools_filter
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bcftools/index/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bcftools_index
channels:
- conda-forge
- bioconda
Expand Down
1 change: 1 addition & 0 deletions modules/nf-core/bcftools/isec/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: bcftools_isec
channels:
- conda-forge
- bioconda
Expand Down
Loading
Loading