A Docker image with different utilities.
10K+
Warning
This image runs Docker in Docker. Users that are already running Docker 29 should start using the image with the `pegi3s/utilities:0.22.2-docker29.0.1`, while users that did not yet update their Docker version to Docker 29 should use the image with the `pegi3s/utilities:0.22.2` tag. Starting with version `0.22.2-docker29.0.1`, from now on, only images that are compatible with Docker 29 or above will be released. You can check your Docker version by running the command: docker --version".
This Docker image contains different utilities and scripts that may be useful in different scenarios. You can list the utilities by running: docker run --rm pegi3s/utilities help.
These utilities are alphabetically listed bellow along with comprehensive explanations. To show the help of a specific utility, run docker run --rm pegi3s/utilities <utility_name> --help.
The list of utilities is presented below, please refer to this manual for detailed instructions and examples.
backup_file: creates a backup file of the file passed as parameter. By default, it adds the extension ".bak" (or ".bak1", ".bak2", and so on, if a file with any of the previous extensions exist).batch_fasta_remove_line_breaks: removes the line breaks of sequences in one or more FASTA files.batch_fasta_remove_stop_codons: modifies the sequences in one or more FASTA files to remove the stop codons (TAA, TAG and TGA) at the end of sequences. Note that if the input files have line breaks separating the sequences, they should be removed using the fasta_remove_line_breaks script. Otherwise, stop codons will be removed from each sequence line.check_multiple_3: verifies if all sequences in a FASTA file are multiple of 3. If so, the exit code is 0. Otherwise, the exit code is 1. Note that the exit code can be captured with $?. Note that if the input file have line breaks separating the sequences, they should be removed using the fasta_remove_line_breaks script. Otherwise, the script may produce unpredictable result.create_batches: creates batches for all lines of a given text file. One file per batch is created in the output directory, each one containing a batch of lines of the specified size from the input file.create_batches_for_directory: script creates batches for all files and directories under the specified directory. One file per batch is created in the output directory, each one containing a batch of files or directories of the specified size from the input file.deinterleave_fastq: deinterleaves a FASTQ file of paired reads into two FASTQ files. Optionally, the output files can be compressed using GZip.dockerhub_count_pulls: lists the number of pulls of each image for a given Docker Hub user.dockerhub_list_images_with_tags: lists all the images and tags for a given Docker Hub user.dockerhub_list_repo_with_tags: lists the tags for a given Docker Hub repository (user/image).fasta_extract_accession_numbers: extracts the accession numbers present in the headers of a given FASTA file. The output is a tab-delimited file with the FASTA headers (first column) and the accession found (second column). In case multiple accessions are present, only the first one is reported.fasta_pipe_delimited_extractor: extract sequences from FASTA files, according to the information in a given field, separated by pipes.fasta_put_headers_back: replaces the sequence headers using the provided mapping file (with input headers in the first column and new headers in the second).fasta_remove_line_breaks: removes the line breaks of sequences in a FASTA file.fasta_remove_sequences_with_in_frame_stops_or_n: removes the sequences containing N's or in-frame STOP codons (TAA, TAG and TGA) and writes the output into a new file.fasta_remove_stop_codons: modifies the sequences in a FASTA file to remove the stop codons (TAA, TAG and TGA) at the end of sequences. Note that if the input file have line breaks separating the sequences, they should be removed using the fasta_remove_line_breaks script. Otherwise, stop codons will be removed from each sequence line.fasta_rename_headers_with_taxonomy_info: renames the headers of a FASTA file with the taxonomic information associated to the accession numbers found in them.fasta_replace_and_save_headers: replaces the sequence headers by correlative numbers starting at 1 with a specified prefix. Also, a headers map is created so that original sequence headers can be restored using the fasta_put_headers_back script.fasta_reverse_complement: reverses the sequences in a FASTA file and converts them into their complement counterparts. Also, a prefix can be added to the header of each sequence. Note that if the input file have line breaks separating the sequences, they should be removed using the fasta_remove_line_breaks script. The scripts fasta_complement and fasta_reverse perform these two tasks separately.fasta_sort_by_header: sorts the sequences in a FASTA file according to their full sequence headers. Note that if the input file have line breaks separating the sequences, they should be removed using the fasta_remove_line_breaks script.fastq_to_fasta: converts a FASTQ file into a FASTA file.get_phylo_taxa: extracts a group of sequences from a file by providing the name of the sequences that flank the group of interest in a phylogenetic tree.get_taxonomy: receives a list of accession numbers (either through an input file or the standard input), identifies the species associated to each one of them and gets the requested taxonomic information.hdock_to_PDBePISA_conversion: converts a PDB file generated by hdock to a PDB formatted file suitable for PDBePISA (see the pegi3s/hdock_builder and the pegi3s/pisa_server Docker images).pdb2fasta: extracts sequences in FASTA format from PDB files. Input may be a single file or a directory with PDB files.pisa_xml_extract: extracts information regarding the number of interface residues and the interface area from XML files generated using PDBePISA.tm_align_hit_extract: extracts the hit region of sequence 2 from a TM-align output file generated with the pegi3s/tmtools Docker image (1.0.1 or above; it may work with other outputs as well). Input may be a single file or a directory with files.rmlastline: removes the last line of one or more files. Note that this command modifies the files passed as parameters.The latest tag contains always the most recent version.
tm_align_hit_extract and pdb2fasta utilities.pegi3s/docker:29.0.1 to make it compatible with current Docker clients.create_batches and create_batches_for_directory utilities.fasta_put_headers_back utility to deal with new special characters () and ().hdock_to_PDBePISA_conversion utility.hdock_to_PDBePISA_conversion utility.fasta_sort_by_header utility.pipe_delimited_extractor to fasta_pipe_delimited_extractor and adds parameter checking.get_phylo_taxa utility.fasta_extract_accession_numbers utility to print unique sequence headers.fasta_rename_headers_with_taxonomy_info utility.rs (--replace-spaces flag) to the fasta_rename_headers_with_taxonomy_info utility.fasta_extract_accession_numbers, get_taxonomy, and fasta_rename_headers_with_taxonomy_info utilities.fasta_put_headers_back utility to deal with special characters.fasta_remove_line_breaks utility to work properly with large FASTA files.batch_fasta_remove_line_breaks utility to invoke the fasta_remove_line_breaks utility for each input file.pipe_delimited_extractor utility.dockerhub_list_repo_with_tags, fasta_replace_and_save_headers, fasta_put_headers_back, fasta_complement, fasta_reverse, fasta_reverse_complement utilities.fasta_remove_line_breaks to add a newline at the end of the output files.pisa_xml_extract utility.fasta_remove_sequences_with_in_frame_stops_or_n utility.dockerhub_list_images_with_tags utility.count_dockerhub_pulls to dockerhub_count_pulls.check_multiple_3 utility.backup_file utility.fasta_remove_sequences_with_in_frame_stops_or_n utility.fasta_remove_stop_codons and batch_fasta_remove_stop_codons utilities.batch_fasta_remove_line_breaks utility.fasta_remove_line_breaks utility.count_dockerhub_pulls utility.fastq_to_fasta utility.--help parameter to all utilities in order to show the usage instructions.utilities image containing the rmlastline and deinterleave_fastq utilities.Content type
Image
Digest
sha256:9a64fc63c…
Size
197.3 MB
Last updated
20 days ago
docker pull pegi3s/utilities