-
Notifications
You must be signed in to change notification settings - Fork 166
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
Experimental support for GISTIC export #623
Conversation
Looks good, thanks. I think I left this feature as hidden because I hadn't tested its results with Gistic myself. Are you in a position to check whether the output of this command works with Gistic without further modification? |
Hi @etal , Sorry, I have never used GISTIC and I am completely unfamiliar with it
Feeding GISTIC only with mandatory "seg" file works fine, but I got an issue feeding it with both "seg" and "markers" files: GISTIC 2.0 input error detected:
74 segment start or end positions in 'cns.gistic.seg' do not match any markers in 'cnr.gistic.markers'.
First bad position is X:150501 at line 114. => I guess it is because To conclude: this seems OK to me, but as I said I do not know enough about GISTIC to assert results generated from "GISTIC + CNVkit's exports" are accurate Hope this helps. |
@tetedange13 Thank you for the PR Felix! I agree we should ideally wait for @BioComSoftware's feedback prior to merging this. I also think there are two additional things to be done here:
|
Hi @tskir,
Just to be clear, GISTIC itself can deal with sex-chrom (even if they are removed by default according to doc and that I could not manage to make it keep them with To sum up: Kind regards. |
Based on the feedback we received, I think this would be the most reasonable set of changes:
@tetedange13 Do you think you could add those changes to this PR? |
Hi @tskir , Done ! To document GISTIC export I did my best based on code docstrings + GISTIC documentation Have a nice day. |
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.
@tetedange13 Thank you Felix, you're a star!
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.
LGTM, thanks! The .autosomes()
filter was there because I was under the mistaken impression that GISTIC only accepts autosomes as input.
Should fix issue #622
=> Simply copy-pasted (+ adapted) code for 'jtv' export (same case with multiple ".cnr" as input) to enable 'gistic' export through command-line
=> This supposes "core" function for "gistic" export (within
cnvlib/export.py
) is correct, which I have not test=> Maybe further tests are required ?
Closes #622