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

cd-hit: add linux-aarch64 build #47154

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

martin-g
Copy link
Contributor

Describe your pull request here


Please read the guidelines for Bioconda recipes before opening a pull request (PR).

General instructions

  • If this PR adds or updates a recipe, use "Add" or "Update" appropriately as the first word in its title.
  • New recipes not directly relevant to the biological sciences need to be submitted to the conda-forge channel instead of Bioconda.
  • PRs require reviews prior to being merged. Once your PR is passing tests and ready to be merged, please issue the @BiocondaBot please add label command.
  • Please post questions on Gitter or ping @bioconda/core in a comment.

Instructions for avoiding API, ABI, and CLI breakage issues

Conda is able to record and lock (a.k.a. pin) dependency versions used at build time of other recipes.
This way, one can avoid that expectations of a downstream recipe with regards to API, ABI, or CLI are violated by later changes in the recipe.
If not already present in the meta.yaml, make sure to specify run_exports (see here for the rationale and comprehensive explanation).
Add a run_exports section like this:

build:
  run_exports:
    - ...

with ... being one of:

Case run_exports statement
semantic versioning {{ pin_subpackage("myrecipe", max_pin="x") }}
semantic versioning (0.x.x) {{ pin_subpackage("myrecipe", max_pin="x.x") }}
known breakage in minor versions {{ pin_subpackage("myrecipe", max_pin="x.x") }} (in such a case, please add a note that shortly mentions your evidence for that)
known breakage in patch versions {{ pin_subpackage("myrecipe", max_pin="x.x.x") }} (in such a case, please add a note that shortly mentions your evidence for that)
calendar versioning {{ pin_subpackage("myrecipe", max_pin=None) }}

while replacing "myrecipe" with either name if a name|lower variable is defined in your recipe or with the lowercase name of the package in quotes.

Bot commands for PR management

Please use the following BiocondaBot commands:

Everyone has access to the following BiocondaBot commands, which can be given in a comment:

@BiocondaBot please update Merge the master branch into a PR.
@BiocondaBot please add label Add the please review & merge label.
@BiocondaBot please fetch artifacts Post links to CI-built packages/containers.
You can use this to test packages locally.

Note that the @BiocondaBot please merge command is now depreciated. Please just squash and merge instead.

Also, the bot watches for comments from non-members that include @bioconda/<team> and will automatically re-post them to notify the addressed <team>.

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
@martin-g
Copy link
Contributor Author

@BiocondaBot please fetch artifacts

@BiocondaBot
Copy link
Collaborator

Package(s) built are ready for inspection:

Arch Package Zip File / Repodata CI Instructions
linux-64 cd-hit-4.8.1-h43eeafb_10.tar.bz2 LinuxArtifacts.zip Azure
showYou may also use conda to install after downloading and extracting the zip file. From the LinuxArtifacts directory: conda install -c ./packages <package name>
osx-64 cd-hit-4.8.1-h0100bc9_10.tar.bz2 OSXArtifacts.zip Azure
showYou may also use conda to install after downloading and extracting the zip file. From the OSXArtifacts directory: conda install -c ./packages <package name>
linux-aarch64 cd-hit-4.8.1-hf1d9491_10.tar.bz2 repodata.json CircleCI
showYou may also use conda to install:conda install -c https://output.circle-artifacts.com/output/job/18947e83-fc71-41fe-b6be-5584d02e61e7/artifacts/0/tmp/artifacts/packages <package name>

Docker image(s) built:

Package Tag CI Install with docker
cd-hit 4.8.1--h43eeafb_10 Azure
showImages for Azure are in the LinuxArtifacts zip file above.gzip -dc LinuxArtifacts/images/cd-hit:4.8.1--h43eeafb_10.tar.gz | docker load

@martin-g
Copy link
Contributor Author


mgrigorov in 🌐 euler-arm-22 in /tmp/cd-hit took 4s 
❯ tar jxvf cd-hit-4.8.1-hf1d9491_10.tar.bz2 
info/run_exports.json
info/test/run_test.sh
info/hash_input.json
info/index.json
info/recipe/build.sh
info/files
info/recipe/meta.yaml.template
info/recipe/meta.yaml
info/recipe/conda_build_config.yaml
info/paths.json
info/about.json
info/git
bin/clstr_renumber.pl
bin/clstr_select.pl
bin/clstr_cut.pl
bin/clstr_rep.pl
bin/clstr_select_rep.pl
bin/clstr_size_stat.pl
bin/clstr_size_histogram.pl
bin/clstr_sort_by.pl
bin/cd-hit-div.pl
bin/clstr2tree.pl
bin/clstr_reduce.pl
bin/clstr_sql_tbl_sort.pl
bin/clstr_list_sort.pl
bin/clstr_reps_faa_rev.pl
bin/clstr2txt.pl
bin/clstr_sort_prot_by.pl
bin/clstr_rev.pl
bin/make_multi_seq.pl
bin/cd-hit-clstr_2_blm8.pl
bin/clstr_merge_noorder.pl
bin/plot_len1.pl
bin/clstr_quality_eval_by_link.pl
bin/clstr_sql_tbl.pl
bin/FET.pl
bin/clstr_merge.pl
bin/clstr_list.pl
bin/clstr_quality_eval.pl
bin/plot_2d.pl
bin/clstr2xml.pl
bin/cd-hit-para.pl
bin/cd-hit-2d-para.pl
bin/cd-hit-div
bin/cd-hit
bin/cd-hit-2d
bin/cd-hit-est
bin/cd-hit-est-2d
bin/cd-hit-454

mgrigorov in 🌐 euler-arm-22 in /tmp/cd-hit 
❯ file bin/*
bin/cd-hit:                        ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, not stripped
bin/cd-hit-2d:                     ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, not stripped
bin/cd-hit-2d-para.pl:             Perl script text executable
bin/cd-hit-454:                    ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, not stripped
bin/cd-hit-clstr_2_blm8.pl:        Perl script text executable
bin/cd-hit-div:                    ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, not stripped
bin/cd-hit-div.pl:                 Perl script text executable
bin/cd-hit-est:                    ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, not stripped
bin/cd-hit-est-2d:                 ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, not stripped
bin/cd-hit-para.pl:                Perl script text executable
bin/clstr2tree.pl:                 Perl script text executable
bin/clstr2txt.pl:                  Perl script text executable
bin/clstr2xml.pl:                  Perl script text executable
bin/clstr_cut.pl:                  Perl script text executable
bin/clstr_list.pl:                 Perl script text executable
bin/clstr_list_sort.pl:            Perl script text executable
bin/clstr_merge.pl:                Perl script text executable
bin/clstr_merge_noorder.pl:        Perl script text executable
bin/clstr_quality_eval.pl:         Perl script text executable
bin/clstr_quality_eval_by_link.pl: Perl script text executable
bin/clstr_reduce.pl:               Perl script text executable
bin/clstr_renumber.pl:             Perl script text executable
bin/clstr_rep.pl:                  Perl script text executable
bin/clstr_reps_faa_rev.pl:         Perl script text executable
bin/clstr_rev.pl:                  Perl script text executable
bin/clstr_select.pl:               Perl script text executable
bin/clstr_select_rep.pl:           Perl script text executable
bin/clstr_size_histogram.pl:       Perl script text executable
bin/clstr_size_stat.pl:            Perl script text executable
bin/clstr_sort_by.pl:              Perl script text executable
bin/clstr_sort_prot_by.pl:         Perl script text executable
bin/clstr_sql_tbl.pl:              Perl script text executable
bin/clstr_sql_tbl_sort.pl:         Perl script text executable
bin/FET.pl:                        Perl script text executable
bin/make_multi_seq.pl:             Perl script text executable
bin/plot_2d.pl:                    Perl script text executable
bin/plot_len1.pl:                  Perl script text executable

mgrigorov in 🌐 euler-arm-22 in /tmp/cd-hit 
❯ ./bin/cd-hit
		====== CD-HIT version 4.8.1 (built on Apr 11 2024) ======

Usage: ./bin/cd-hit [Options] 

Options

   -i	input filename in fasta format, required, can be in .gz format
   -o	output filename, required
   -c	sequence identity threshold, default 0.9
 	this is the default cd-hit's "global sequence identity" calculated as:
 	number of identical amino acids or bases in alignment
 	divided by the full length of the shorter sequence
   -G	use global sequence identity, default 1
 	if set to 0, then use local sequence identity, calculated as :
 	number of identical amino acids or bases in alignment
 	divided by the length of the alignment
 	NOTE!!! don't use -G 0 unless you use alignment coverage controls
 	see options -aL, -AL, -aS, -AS
   -b	band_width of alignment, default 20
   -M	memory limit (in MB) for the program, default 800; 0 for unlimitted;
   -T	number of threads, default 1; with 0, all CPUs will be used
   -n	word_length, default 5, see user's guide for choosing it
   -l	length of throw_away_sequences, default 10
   -t	tolerance for redundance, default 2
   -d	length of description in .clstr file, default 20
 	if set to 0, it takes the fasta defline and stops at first space
   -s	length difference cutoff, default 0.0
 	if set to 0.9, the shorter sequences need to be
 	at least 90% length of the representative of the cluster
   -S	length difference cutoff in amino acid, default 999999
 	if set to 60, the length difference between the shorter sequences
 	and the representative of the cluster can not be bigger than 60
   -aL	alignment coverage for the longer sequence, default 0.0
 	if set to 0.9, the alignment must covers 90% of the sequence
   -AL	alignment coverage control for the longer sequence, default 99999999
 	if set to 60, and the length of the sequence is 400,
 	then the alignment must be >= 340 (400-60) residues
   -aS	alignment coverage for the shorter sequence, default 0.0
 	if set to 0.9, the alignment must covers 90% of the sequence
   -AS	alignment coverage control for the shorter sequence, default 99999999
 	if set to 60, and the length of the sequence is 400,
 	then the alignment must be >= 340 (400-60) residues
   -A	minimal alignment coverage control for the both sequences, default 0
 	alignment must cover >= this value for both sequences 
   -uL	maximum unmatched percentage for the longer sequence, default 1.0
 	if set to 0.1, the unmatched region (excluding leading and tailing gaps)
 	must not be more than 10% of the sequence
   -uS	maximum unmatched percentage for the shorter sequence, default 1.0
 	if set to 0.1, the unmatched region (excluding leading and tailing gaps)
 	must not be more than 10% of the sequence
   -U	maximum unmatched length, default 99999999
 	if set to 10, the unmatched region (excluding leading and tailing gaps)
 	must not be more than 10 bases
   -B	1 or 0, default 0, by default, sequences are stored in RAM
 	if set to 1, sequence are stored on hard drive
 	!! No longer supported !!
   -p	1 or 0, default 0
 	if set to 1, print alignment overlap in .clstr file
   -g	1 or 0, default 0
 	by cd-hit's default algorithm, a sequence is clustered to the first 
 	cluster that meet the threshold (fast cluster). If set to 1, the program
 	will cluster it into the most similar cluster that meet the threshold
 	(accurate but slow mode)
 	but either 1 or 0 won't change the representatives of final clusters
   -sc	sort clusters by size (number of sequences), default 0, output clusters by decreasing length
 	if set to 1, output clusters by decreasing size
   -sf	sort fasta/fastq by cluster size (number of sequences), default 0, no sorting
 	if set to 1, output sequences by decreasing cluster size
 	this can be very slow if the input is in .gz format
   -bak	write backup cluster file (1 or 0, default 0)
   -h	print this help

   Questions, bugs, contact Weizhong Li at [email protected]
   For updated versions and information, please visit: http://cd-hit.org
                                                    or https://github.com/weizhongli/cdhit

   cd-hit web server is also available from http://cd-hit.org

   If you find cd-hit useful, please kindly cite:

   "CD-HIT: a fast program for clustering and comparing large sets of protein or nucleotide sequences", Weizhong Li & Adam Godzik. Bioinformatics, (2006) 22:1658-1659
   "CD-HIT: accelerated for clustering the next generation sequencing data", Limin Fu, Beifang Niu, Zhengwei Zhu, Sitao Wu & Weizhong Li. Bioinformatics, (2012) 28:3150-3152

LGTM!

@martin-g
Copy link
Contributor Author

@BiocondaBot please add label

@BiocondaBot BiocondaBot added the please review & merge set to ask for merge label Apr 11, 2024
@mencian mencian merged commit 3532c4f into bioconda:master Apr 12, 2024
6 checks passed
@ori-scala
Copy link

@martin-g Would you be able to add support for osx-arm64?

@mencian
Copy link
Contributor

mencian commented Nov 12, 2024

@ori-scala added osx-arm64 build to cd-hit here; the osx-arm64 build should be available now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
please review & merge set to ask for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants