diff --git a/CITATION.cff b/CITATION.cff index 46767a5..e5f45e3 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -23,10 +23,11 @@ authors: Environment (RIVM) - name: "The RIVM-IDS Bioinformatics team" version: 1.2.3 #x-release-please-version -# identifiers: -# - type: doi -# value: none -# description: This is the collection of archived snapshots of all versions of ViroConstrictor +doi: 10.5281/zenodo.7688035 +identifiers: + - type: doi + value: 10.5281/zenodo.7688035 + description: This is the collection of archived snapshots of all versions of ViroConstrictor repository-code: 'https://github.com/RIVM-bioinformatics/ViroConstrictor' url: >- https://rivm-bioinformatics.github.io/ViroConstrictor/latest/ diff --git a/ViroConstrictor/ViroConstrictor.py b/ViroConstrictor/ViroConstrictor.py index 85d39e0..7fa47c4 100644 --- a/ViroConstrictor/ViroConstrictor.py +++ b/ViroConstrictor/ViroConstrictor.py @@ -58,12 +58,16 @@ def main(): --> Run snakemake with appropriate settings """ - ##> Check the default userprofile, make it if it doesn't exist - conf = ReadConfig(os.path.expanduser("~/.ViroConstrictor_defaultprofile.ini")) - flags, sampleinfo, samples_df = ValidArgs(sys.argv[1:]) samples_df = samples_df.reset_index(drop=False).rename(columns={"index": "SAMPLE"}) - sampleinfo_df = pd.DataFrame.from_dict(sampleinfo, orient="index").reset_index(drop=False).rename(columns={"index": "SAMPLE"}) + sampleinfo_df = ( + pd.DataFrame.from_dict(sampleinfo, orient="index") + .reset_index(drop=False) + .rename(columns={"index": "SAMPLE"}) + ) + + ##> Check the default userprofile, make it if it doesn't exist + conf = ReadConfig(os.path.expanduser("~/.ViroConstrictor_defaultprofile.ini")) preset_fallback_warnings = [] preset_score_warnings = [] diff --git a/env.yml b/env.yml index 9206b3a..f84e45b 100644 --- a/env.yml +++ b/env.yml @@ -18,6 +18,4 @@ dependencies: - fpdf2==2.5.1 - python-magic==0.4.27 - rich=13 - - pip - - pip: - - AminoExtract==0.2.1 \ No newline at end of file + - aminoextract==0.2.1 \ No newline at end of file