-
Notifications
You must be signed in to change notification settings - Fork 2
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
MycoSNP results to Labware 8 #33
base: main
Are you sure you want to change the base?
Conversation
Adding mycosnp_results_files.py to prepare mycosnp qc results for labware8 import
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was able to get this script to run and produce an output that looks like what is intended. Has there been any testing as to if the files are picked up by LabWare8?
One other thing. The results files have DB ids for SRR and Genebank but those won't be available from the mycosnp results so will there be a companion script or will those have to be added manually? |
The SRA accessions are a long conversation with an unknown ending. 😅 |
mycosnp_results_files.py
Outdated
|
||
# Writing the files for each sample separately | ||
arln_filename = 'labware8/arln_' + sample + '_results.txt' | ||
sample_df.to_csv(arln_filename, columns=arln_labware_cols, index=False, sep='\t') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file needs to be a csv file, so please delete the '\t'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed the sep='\t' to sep=',' and changed 'results.txt' to 'results.csv'
changed from tab separated to csv
I have converted this to a draft for now. |
Adding mycosnp_results_files.py to prepare mycosnp qc results for labware8 import. Some of the changes from Erin's granduer_results_files.py script include functions to gather samplesheet data from either NextSeq 2k or MiSeq due to either being used to sequence C. auris, using 'glob' dependency to find 'qc_report.txt' at any level, parsing of qc_report.txt with qc metrics for passing samples, and only the passing samples with a 'Y' being moved into the 'labware8' directory to use as import.