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

How can I use several spectrum files? #119

Open
Wang-kaifei opened this issue Mar 9, 2021 · 3 comments
Open

How can I use several spectrum files? #119

Wang-kaifei opened this issue Mar 9, 2021 · 3 comments
Labels

Comments

@Wang-kaifei
Copy link

Hi,

I use a param file to send parameters. But when I fill in the absolute path of multiple spectrum files, the software can only search for the first file. So I want to ask if this feature is supported.

Best,
--wangkaifei

@Wang-kaifei
Copy link
Author

Hi,

I met this requirement by using the folder path, then generated multiple .mzid files, and used MzidToTsvConverter.exe to generate multiple .tsv files.

My question is when these files are calculated and filtered by Q-value, should they be combined or filtered separately for each file? Is there a way to merge and filter to produce one result file?

Looking forward to your reply!

Best,
--wangkaifei

@alchemistmatt
Copy link
Collaborator

MS-GF+ operates on one spectrum file at a time. As you found, if you specify the input "file" as a directory path, all .mzML files in that directory are processed (I think that's true; this is from memory).

QValues are also calculated on a per-spectrum file basis. We do not have a tool to merge and filter multiple .tsv files. The closest thing I can think of is to combine them with the type command at the Windows command prompt:

type Results1.tsv > CombinedResults.tsv
type Results2.tsv >> CombinedResults.tsv
type Results2.tsv >> CombinedResults.tsv

The equivalent command on Linux is cat

cat Results*.tsv > CombinedResults.tsv

@Wang-kaifei
Copy link
Author

Thanks a lot !

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

No branches or pull requests

2 participants