-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
temporary files should go to specifically folder. #78
Comments
Hi @yujun2017, thanks for looking into fixing the issue. Do you have a fork of the repo you can create a pull request from? |
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@dengxian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->Jody: Actually I can create pull request. Please let me know how I can do it. Thanks! John Yu410-900-0333 From: Jody PhelanSent: Monday, December 30, 2019 3:23 PMTo: jodyphelan/TBProfilerCc: yujun2017; MentionSubject: Re: [jodyphelan/TBProfiler] temporary files should go to specifically folder. (#78) Hi @yujun2017, thanks for looking into fixing the issue do you have a fork of the repo you can create a pull request from?—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.
|
What you should do is to:
|
Jody:
I just created a new pull request and I can't find way to upload files.
Github is little bit new for me to make file changing. I do one time long
time ago in tb-profiler. I just forgot it. I can send file to you and you
can review and merge file if you think it is ok.
Thanks!
John
…On Thu, 2 Jan 2020 at 05:48, Jody Phelan ***@***.***> wrote:
What you should do is to:
1. Fork the repository. I see you have a fork already but it is quite
an old version.
2. Make the changes and commit
3. Create a pull request. More info here
<https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#78?email_source=notifications&email_token=AGDIGTDHWJXTA24FUK7Z64TQ3XA7NA5CNFSM4KBM73S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH6CQAY#issuecomment-570173443>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGDIGTCR7CEIQCLSRVKNZ3DQ3XA7NANCNFSM4KBM73SQ>
.
--
John Yu
|
Hi John, Sure! You can upload to gist and share the url. If you could put in some comments where you have made changes that would be great! Jody |
Jodt:
I have created a pull request in my account. you can merge it into your
branch.
Here is what i have changed. After this changing, the file name will
become to (prefix)*C**hromosome_xxxx_xxxx.vcf.gz. *the filename will be
unique and the file will go to special folder.
if bed_file:
self.windows_cmd = "cat %(bed_file)s | awk '{print $1\":\"$2\"-\"$3\"
*%(prefix)s*\"$1\"_\"$2\"_\"$3}'" % vars(self)
else:
self.windows_cmd = "bedtools makewindows -g %(ref_file)s.fai -n %(threads)s
| awk '{print $1\":\"$2+1\"-\"$3\" *%(prefix)s*\"$1\"_\"$2+1\"_\"$3}'" %
vars(self)
Thanks!
John
…On Thu, 2 Jan 2020 at 18:26, Jody Phelan ***@***.***> wrote:
Hi John,
Sure! You can upload to gist <https://gist.github.com/> and share the
url. If you could put in some comments where you have made changes that
would be great!
Jodt
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#78?email_source=notifications&email_token=AGDIGTDDBKU5IE5IZHDKBQ3Q3ZZ3BA5CNFSM4KBM73S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH7ZDHI#issuecomment-570397085>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGDIGTFS73XIFVKUARGZZ3DQ3ZZ3BANCNFSM4KBM73SQ>
.
--
John Yu
|
Hi John, At the moment the code from your fork seems to fail. The current code will append
If we also it
Have you tested tomcat with tb-profiler v2.8? Thanks for looking into it! |
Are installing via conda? I noticed that it isn't updated with this patch yet! |
Yes. we are using conda to install it.
I will re-test latest code. When i got v2.8, it has same issue.
We have to think about multi-user case. the Chromosome_XX_YY.vcf.gz must be
unique, otherwise these files will be overwrite by anouther tbprofiler
call. this is why I add save_dir into file name. the file will not go to
new folder. the filename will be: *xxxx*Chromosome_XX_YY.vcf.gz (xxxx is
unique for my case).
John
…On Fri, 3 Jan 2020 at 11:39, Jody Phelan ***@***.***> wrote:
Are installing via conda? I noticed that it isn't updated with this patch
yet!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#78?email_source=notifications&email_token=AGDIGTEDELXWIAW7ML66TPTQ35S57A5CNFSM4KBM73S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIBRCUI#issuecomment-570626385>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGDIGTAWM47NOEENWY2ZEBLQ35S57ANCNFSM4KBM73SQ>
.
--
John Yu
|
Ah ok, this should be fixed in the latest commit on github but not on conda yet. I'll update the conda recipe and let you know when it is finished. |
great. Thank you so much!
John
…On Fri, 3 Jan 2020 at 11:50, Jody Phelan ***@***.***> wrote:
Ah ok, this should be fixed in the latest commit on github but not on
conda yet. I'll update the conda recipe and let you know when it is
finished.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#78?email_source=notifications&email_token=AGDIGTGZ5QNZ4PQVESWRUOTQ35UEJA5CNFSM4KBM73S2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIBR2OQ#issuecomment-570629434>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGDIGTGQ5ZUJGDVZTZVICITQ35UEJANCNFSM4KBM73SQ>
.
--
John Yu
|
It should be released on conda now. Please check and let me konw if it works ok. |
I will test it next Monday and will let you know.
John
…Sent from my iPhone
On Jan 3, 2020, at 8:14 PM, Jody Phelan ***@***.***> wrote:
It should be released on conda now. Please check and let me konw if it works ok.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I just got latest code and it works fine now.
Thank you very much!
John
…On Fri, 3 Jan 2020 at 22:35, John Yu ***@***.***> wrote:
I will test it next Monday and will let you know.
John
Sent from my iPhone
On Jan 3, 2020, at 8:14 PM, Jody Phelan ***@***.***> wrote:
It should be released on conda now. Please check and let me konw if it works ok.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
--
John Yu
|
Perfect! |
Tbprofiler will be failed if we ran it in tomcat. we do find there is a bug in TBProfiler and we already fixed the bug and want to know if we can upload changed file.
The text was updated successfully, but these errors were encountered: