rki-mf1 / viruswarn-sc2

VirusWarn-SC2 is a simple Variants of concern aLert system script for Sars-CoV2. Doc https://rki-mf1.github.io/vocal-doc/
MIT License
5 stars 1 forks source link

Hardcoding in output name from Script_VOCAL_unified.R #15

Open silenus092 opened 3 weeks ago

silenus092 commented 3 weeks ago
  1. Even though we have the option to change the output name, the code inside is still hardcoded
    Script_VOCAL_unified.R \
        -s "vocal-alerts-samples-all.csv" \
        -c "vocal-alerts-clusters-summaries-all.csv"
    
    write_csv(vocal_samples_out,
            file = file.path("vocal-alerts-samples-all.csv"))

write_csv( vocal_list_clusters_properties_with_mutations, file = file.path("vocal-alerts-clusters-summaries-all.csv") )


Note: the  Script_VOCAL_unified.R is modified to be used  in next flow pipeline, so if you run the 
Script_VOCAL_unified.R \
    -f ${variants_with_phenotypes} \
    -s "vocal-alerts-samples-all.csv" \
    -c "vocal-alerts-clusters-summaries-all.csv" \
    -a "${metadata}" \
    --ecdc ${ecdc} \
    --bloom ${bloom} \
    --lineages ${lineages}


the output directory will be the same when you execute the command