PhyloGrok / VCFgenerator

Automated variant calling app for NextGen evolutionary genomics
GNU General Public License v3.0
0 stars 0 forks source link

Annotation specified by user needs to be implemented #20

Closed nluu1 closed 1 year ago

nluu1 commented 1 year ago

Currently:

LloydJonesIII commented 1 year ago

resources/snpeff_annotate.sh: line 44: /pH_Run/assembly/results/annotation/_final_variants_annotated.vcf: No such file or directory snpEff ann -no-downstream -no-upstream -c resources/SnpEff/snpEff.config HsNRC-1 /pH_Run/assembly/results/final_vcf/_final_variants.vcf > /pH_Run/assembly/results/annotation/_final_variants_annotated.vcf -s /pH_Run/assembly/results/annotation/_summary.html -csvStats /pH_Run/assembly/results/annotation/*_annotated.csv

nluu1 commented 1 year ago

resources/snpeff_annotate.sh: line 44: /pH_Run/assembly/results/annotation/final_variants_annotated.vcf: No such file or directory snpEff ann -no-downstream -no-upstream -c resources/SnpEff/snpEff.config HsNRC-1 /pH_Run/assembly/results/final_vcf/final_variants.vcf > /pH_Run/assembly/results/annotation/__final_variants_annotated.vcf -s /pH_Run/assembly/results/annotation/__summary.html -csvStats /pH_Run/assembly/results/annotation/*_annotated.csv

  • found this new error don't know how to fix
nluu1 commented 1 year ago

@PhyloGrok @LloydJonesIII

Note:

nluu1 commented 1 year ago

@PhyloGrok @LloydJonesIII

  • I have updated the snpeff_annotate.sh and implemented annotation_config.sh to recognize the reference data, input folder, output folder (assuming filepath are the same for all workflow).
  • The annotation_config.sh is located in the resources/ folder
  • Now, the command can be run like so
/media/volume/sdb/resources/annotation_config.sh pH_Run

...

  • Please let me know once you have a chance to try the command /media/volume/sdb/resources/annotation_config.sh pH_Run

Updated 08/03/2023

$annotation_config.sh $1 snpeff_annotate.sh

nluu1 commented 1 year ago

Run succesfully with Lloyd's workflow as 08/04/2023