Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
g2p_mapper_cli
Advanced tools
Map positions on the genome to the protein and vice versa. Outputs a large JSON file with the "ID" field from the GFF column 9 to create keys in a mapping object
npm install -g g2p_mapper_cli
g2pmapper --in yourfile.gff --out outDir
## will create outDir if none exists
The script outputs one JSON file per transcript from the inputted GFF. The JSON files look like this
e.g. XM_047436352.2.json
{
"g2p": { "123": 0, "124": 0, "125": 0, "126": 1, "127": 1 },
"p2g": { "0": 123, "1": 126 },
"strand": 1,
"refName": "chr1"
}
The number of files is fairly large e.g. the human GFF outputs 144000 files
Based off the re-usable library https://github.com/cmdcolin/g2p_mapper
FAQs
Map genome to protein coordinates and back (CLI)
The npm package g2p_mapper_cli receives a total of 8 weekly downloads. As such, g2p_mapper_cli popularity was classified as not popular.
We found that g2p_mapper_cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.