Comments (5)
Thank you.
It could be easily implemented but I'm not sure to well understand or get the point of this option.
Currently we have the option -i SP1
and we get as result for each level1 (i.e gene) feature a locus tag like that: /locus_tag="SP1_LOCUS1"
the next one will be/locus_tag="SP1_LOCUS2"
, then /locus_tag="SP1_LOCUS3"
, etc...
Let say you have in your gff3 features with ID attribute: e.g ID=MYIDX
, ID=MYIDY
,ID=MYIDZ
.
If we introduce the parameter --use_tag_value_as_locus_tag ID
you would like to end up with something like that in the EMBL file:
/locus_tag="SP1_MYIDX_1"
the next one will be/locus_tag="SP1_MYIDY_2"
, then /locus_tag="SP1_MYIDZ_3"
, etc...
or like that ?
/locus_tag="MYIDX_LOCUS1"
the next one will be/locus_tag="MYIDY_LOCUS2"
, then /locus_tag="MYIDZ_LOCUS3"
, etc...
The second possibility is not possible, we need a uniq prefix shared by the /locus_tag of all the features.
For the first case, we have the prefix (the most of time given by EBI and here SP1 for the example) and an incremented number that will be necessary to be sure that the /locus_tag
value is uniq. The ID information will be in between, but I don't see the gain to have this information here instead of a separate field i.e: /note="ID:MYIDX"
Maybe you have think to something else ?
from emblmygff3.
Thank you for your fast answer.
Maybe I should explain my "problem" a bit better. I already have valid and registered unique locus_tag for each feature and just want to create an embl file based on a self created gff with new/changed annotation, which already contains those locus_tags. I don't need new IDs.
from emblmygff3.
Interesting case. I'm not sure it is something that will be often encountered but it can be implemented.
from emblmygff3.
Thank you very much!
from emblmygff3.
FYI: I also had self created locus_tags for each features, which I wanted to keep in the EMBL file. I formated my GFF3 file so as to have the locus_tag number (suffix) of each feature in the "locus_tag" attribute. It has worked well this way. But sure it will be more flexible with the new option --use_attribute_value_as_locus_tag parameter.
from emblmygff3.
Related Issues (20)
- How to add in comment or CC line HOT 1
- Webin-CLI validation failing due to duplicated feature locations in EMBLmyGFF3 flat file HOT 2
- thank you HOT 1
- ImportError Bio.Alphabet error HOT 1
- What the option "-a accesion" parameter should to be set(means:What type?) HOT 3
- TypeError: read() takes 1 positional argument but 2 were given? HOT 3
- attribute formats broken across several lines HOT 2
- Use of example data HOT 2
- Contigs are disorganised in the EMBL file HOT 10
- Warning qualifier unknown db_xref HOT 1
- Translation problem HOT 2
- Reporting the line number of the problematic input GFF3 files when parsing error is triggered HOT 2
- BioPython 1.81 installs via conda, but needs an older version HOT 2
- if I can specify certain python source during python setup.py install HOT 2
- Not for ENA submission: Sequence too short
- Installation issue EMBLmyGFF3 & python version requirements
- Translation when circular genome and ORF in the cut of the assembly HOT 1
- unexpected keyword argument 'strand' HOT 3
- Gene sorting compared to fasta HOT 4
- Bug when specifying -g mitochrondrion (or plastid)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emblmygff3.