annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/python3.8/site-packages/bio-1.6.2.dist-info/METADATA @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
rev   line source
jpayne@68 1 Metadata-Version: 2.1
jpayne@68 2 Name: bio
jpayne@68 3 Version: 1.6.2
jpayne@68 4 Summary: bio
jpayne@68 5 Home-page: https://github.com/ialbert/bio
jpayne@68 6 Author: Istvan Albert
jpayne@68 7 Author-email: istvan.albert@gmail.com
jpayne@68 8 Classifier: Programming Language :: Python :: 3
jpayne@68 9 Classifier: License :: OSI Approved :: MIT License
jpayne@68 10 Classifier: Operating System :: OS Independent
jpayne@68 11 Requires-Python: >=3.7
jpayne@68 12 Description-Content-Type: text/markdown
jpayne@68 13 License-File: LICENSE
jpayne@68 14 Requires-Dist: biopython >=1.80
jpayne@68 15 Requires-Dist: requests
jpayne@68 16 Requires-Dist: tqdm
jpayne@68 17 Requires-Dist: mygene
jpayne@68 18 Requires-Dist: pandas
jpayne@68 19 Requires-Dist: pooch
jpayne@68 20 Requires-Dist: gprofiler-official
jpayne@68 21
jpayne@68 22 # bio: making bioinformatics fun again
jpayne@68 23
jpayne@68 24 `bio` - command-line utilities to make bioinformatics explorations more enjoyable.
jpayne@68 25
jpayne@68 26 `bio` is a bioinformatics toy to play with.
jpayne@68 27
jpayne@68 28 Like LEGO pieces that match one another `bio` aims to provide you with commands that naturally fit together and let you express your intent with short, explicit and simple commands. It is a project in an exploratory phase, we'd welcome input and suggestions on what it should grow up into.
jpayne@68 29
jpayne@68 30 ## What does this software do?
jpayne@68 31
jpayne@68 32
jpayne@68 33 If you've ever done bioinformatics, you know how even seemingly straightforward tasks require multiple steps, arcane incantations, and various other preparations that slow down progress.
jpayne@68 34
jpayne@68 35 Even well-defined, supposedly simple tasks can take a seemingly inordinate number of complicated steps. The `bio` package is meant to solve that tedium.
jpayne@68 36
jpayne@68 37 ## Usage examples
jpayne@68 38
jpayne@68 39 # Fetch genbank data
jpayne@68 40 bio fetch NC_045512 MN996532 > genomes.gb
jpayne@68 41
jpayne@68 42 # Convert the first then bases of the genomes to FASTA.
jpayne@68 43 bio fasta genomes.gb --end 10
jpayne@68 44
jpayne@68 45 # Align the coding sequences for the S protein
jpayne@68 46 bio fasta genomes.gb --gene S --protein | bio align | head
jpayne@68 47
jpayne@68 48 # Print the GFF record that corresponds to the coding sequence for gene S
jpayne@68 49 bio gff genomes.gb --gene S
jpayne@68 50
jpayne@68 51 # Show the descendants of taxid 117565
jpayne@68 52 bio taxon 117565 | head
jpayne@68 53
jpayne@68 54 # Show the lineage of a taxonomic rank.
jpayne@68 55 bio taxon 117565 --lineage | head
jpayne@68 56
jpayne@68 57 # Get metadata on a viral sample
jpayne@68 58 bio meta 11138 -H | head
jpayne@68 59
jpayne@68 60 # Define a sequence ontology terms
jpayne@68 61 bio define exon
jpayne@68 62
jpayne@68 63 # Define a gene ontology terms
jpayne@68 64 bio define food vacuole
jpayne@68 65
jpayne@68 66 ## Documentation
jpayne@68 67
jpayne@68 68 Detailed documentation is maintained at
jpayne@68 69
jpayne@68 70 * https://www.bioinfo.help/
jpayne@68 71
jpayne@68 72 ## Quick install
jpayne@68 73
jpayne@68 74 `bio` works on Linux and Mac computers and on Windows when using the Linux Subsystem.
jpayne@68 75
jpayne@68 76 pip install bio --upgrade
jpayne@68 77
jpayne@68 78 See more details in the [documentation][docs].
jpayne@68 79
jpayne@68 80 ## `bio` is stream oriented
jpayne@68 81
jpayne@68 82 `bio` supports stream oriented programming where the output of one task may be chained into the second. Take the example above
jpayne@68 83 but now start with a file `acc.txt` that contains just the accession numbers:
jpayne@68 84
jpayne@68 85 NC_045512
jpayne@68 86 MN996532
jpayne@68 87
jpayne@68 88 we can run `bio` to generate a VCF file with the variants of the S nucleotides forming the S protein like so:
jpayne@68 89
jpayne@68 90 cat acc.txt | bio fetch | bio fasta --gene S | bio align --vcf | head
jpayne@68 91
jpayne@68 92 to print:
jpayne@68 93
jpayne@68 94 ##fileformat=VCFv4.2
jpayne@68 95 ##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
jpayne@68 96 ##FILTER=<ID=PASS,Description="All filters passed">
jpayne@68 97 ##INFO=<ID=TYPE,Number=1,Type=String,Description="Type of the variant">
jpayne@68 98 ##contig=<ID=YP_009724390.1,length=3822,assembly=YP_009724390.1>
jpayne@68 99 #CHROM POS ID REF ALT QUAL FILTER INFO FORMAT QHR63300.2
jpayne@68 100 YP_009724390.1 33 33C/T C T . PASS TYPE=SNP GT 1
jpayne@68 101 YP_009724390.1 54 54T/A T A . PASS TYPE=SNP GT 1
jpayne@68 102 YP_009724390.1 60 60C/T C T . PASS TYPE=SNP GT 1
jpayne@68 103 YP_009724390.1 69 69A/G A G . PASS TYPE=SNP GT 1
jpayne@68 104
jpayne@68 105
jpayne@68 106 ## Who is `bio` designed for?
jpayne@68 107
jpayne@68 108 The software was written to teach bioinformatics and is the companion software to the [Biostar Handbook][handbook] textbook. The targeted audience comprises:
jpayne@68 109
jpayne@68 110 - Students learning about bioinformatics.
jpayne@68 111 - Bioinformatics educators who need a platform to demonstrate bioinformatics concepts.
jpayne@68 112 - Scientists working with large numbers of similar genomes (bacterial/viral strains).
jpayne@68 113 - Scientists who need to investigate and understand the precise details of a genomic region closely.
jpayne@68 114
jpayne@68 115 The ideas and motivations fueling `bio` have been developed while educating the many cohorts of students who used the handbook in the classroom. `bio` is an opinionated take on how bioinformatics, particularly data representation and access, should be simplified and streamlined.
jpayne@68 116
jpayne@68 117 [handbook]: https://www.biostarhandbook.com/
jpayne@68 118 [docs]: https://www.bioinfo.help/
jpayne@68 119
jpayne@68 120 ## Development
jpayne@68 121
jpayne@68 122 If you clone the repository, we recommend that you install it as a development package with:
jpayne@68 123
jpayne@68 124 python setup.py develop
jpayne@68 125
jpayne@68 126 ## Testing
jpayne@68 127
jpayne@68 128 `bio` can test itself, to run all tests execute:
jpayne@68 129
jpayne@68 130 bio test
jpayne@68 131
jpayne@68 132 Tests are automatically built from a shell script that mimics real-life usage scenarios.
jpayne@68 133
jpayne@68 134 * https://github.com/ialbert/bio/blob/master/test/usage.sh
jpayne@68 135
jpayne@68 136 ## Generating documentation
jpayne@68 137
jpayne@68 138 To generate the docs, you will need the `bookdown` package:
jpayne@68 139
jpayne@68 140 conda install r-bookdown r-servr
jpayne@68 141
jpayne@68 142 To run the docs in a browse:
jpayne@68 143
jpayne@68 144 make
jpayne@68 145
jpayne@68 146 then visit http://localhost:8000
jpayne@68 147