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

Create a taxonomy export fie #156

Open
blakesweeney opened this issue Dec 8, 2022 · 2 comments
Open

Create a taxonomy export fie #156

blakesweeney opened this issue Dec 8, 2022 · 2 comments
Assignees

Comments

@blakesweeney
Copy link
Member

We should create exports of the taxonomic assignments for all Rfam families. This is basically what is done the rfam-taxonomy repo but the exports should be part of our FTP. I'm thinking we should use a JSON file, which has entries for each family like:

{
      "accession": "RF00001",
      "rfam_id": "5S_rRNA",
      "description": "5S ribosomal RNA",
      "rfam_rna_type": "Gene; rRNA;",
      "domain": "Mixed",
      "seed": [
	      { "name": "Bacteria", "fraction": 48.6 },
	      { "name": "Eukaryota", "fraction": 45.51 },
	      { "name": "Archaea", "fraction": 5.9 }
	],
	"full": [
		{ "name": "Eukaryota", "fraction": 87.59 },
		{ "name": "Bacteria", "fraction": 12.0 },
		{ "name": "Archaea", "fraction": 0.4 }
	]
}

I'm not sure if it should be one object per line (jsonl) or if there should be a single object with all families. I'm open to suggestions.

@ppgardne
Copy link

ppgardne commented Dec 9, 2022

You might get more reuse if you use a TSV:...

accession rfam_id  seedBacteria seedEukaryota seedArchaea fullEukaryota fullBacteria fullArchaea
RF00001   5S_rRNA  48.6          45.51        5.9         87.59         12.0         0.4

@blakesweeney
Copy link
Member Author

If you think more people would prefer a tsv we can make one. We have talked about having more precise taxonomic assignments and I don't think that would fix as cleanly into a tsv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants