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

[New pipeline] AnnotationToENA #30

Open
Juke34 opened this issue May 18, 2020 · 0 comments · May be fixed by #112
Open

[New pipeline] AnnotationToENA #30

Juke34 opened this issue May 18, 2020 · 0 comments · May be fixed by #112

Comments

@Juke34
Copy link
Collaborator

Juke34 commented May 18, 2020

See #17 for the general picture.

Here a description of the AnnotationToENA pipeline we need:

Input file: 2 => The GFF file along with the Fasta file
Tool needed: AGAT, EMBLmyGFF3 both available by Bioconda and webin-cli-.jar from https://github.com/enasequence/webin-cli (they provide a docker. We can create a bioconda recipe)
Output file 1 => EMBL Flat file
Required parameters: (all for EMBLmyGFF3):

  • LOCUS_TAG (default "XXX")
  • PROJECT (default "XXX")
  • MOLECULE (default "genomic DNA")
  • TABLE (default 1)
  • TOPOLOGIE (default linear)
  • SPECIES (latin name (e.g. "Drosophila melanogaster") or taxid, no default value)

Step1: agat_sp_flag_short_intron.pl --gff annotation.gff -o annotation_short_intron_flagged.gff
Step2: agat_sp_fix_features_locations_duplicated.pl --gff annotation_short_intron_flagged.gff -o annotation_short_intron_flagged_duplicated_location_fixed.gff
Step3:

  • EMBLmyGFF3 --expose_translations # to get the son files locally
  • code find a way to add "remove": true after the line "exon": { in the local translation_gff_feature_to_embl_feature.json file
  • example: EMBLmyGFF3 -I $LOCUS_TAG -p $PROJECT -m $MOLECULE -r $TABLE -t $TOPOLOGIE -s SPECIES -o annotation.embl annotation.gff genome.fa

Step4: validation using the Webin-CLI command line submission program that supports validation using the -validate option: see here https://github.com/enasequence/webin-cli

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

Successfully merging a pull request may close this issue.

1 participant