qichao1984 / NCyc

42 stars 22 forks source link

missing output file #29

Closed Rob-murphys closed 2 years ago

Rob-murphys commented 2 years ago

I am running the script as follows:

perl /programmes/NCyc/NCycProfiler.pl c -d /prepost/final_assemblies/matriline_assembly/contig_500bp_filt/cd-hit_dereplication_output/metaProdigal_output -m diamond -f faa -s prot -si seqnum.txt -o /prepost/final_assemblies/matriline_assembly/contig_500bp_filt/cd-hit_dereplication_output/metaProdigal_output/ncyc_output/ncyc_profiles.txt

yet I am getting no output to ncyc_profiles.txt. The run is executing correctly it seems and I do get the raw diamond output.

Any idea what I am doing wrong?

qichao1984 commented 2 years ago

weird issue, cannot tell what’s going on. Any on screen errors?

发件人: @.> 发送时间: 2021年12月17日 23:56 收件人: @.> 抄送: @.***> 主题: [qichao1984/NCyc] missing output file (Issue #29)

I am running the script as follows:

perl /programmes/NCyc/NCycProfiler.pl c -d /prepost/final_assemblies/matriline_assembly/contig_500bp_filt/cd-hit_dereplication_output/metaProdigal_output -m diamond -f faa -s prot -si seqnum.txt -o /prepost/final_assemblies/matriline_assembly/contig_500bp_filt/cd-hit_dereplication_output/metaProdigal_output/ncyc_output/ncyc_profiles.txt

yet I am getting no output to ncyc_profiles.txt. The run is executing correctly it seems and I do get the raw diamond output.

Any idea what I am doing wrong?

― Reply to this email directly, view it on GitHubhttps://github.com/qichao1984/NCyc/issues/29, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNORGB2IPTP2OF7T67TV6DURNMTXANCNFSM5KJFGQPA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Rob-murphys commented 2 years ago

No from what I can see. I can send the full log file if you wish?

Rob-murphys commented 2 years ago

ncyc-call.sh.e33993390.zip

Here is the STDERR output for a run showing just the stuff diamond normally prints.

This is the exact output of the run using this command: perl /programmes/NCyc/NCycProfiler.pl c -d /prepost/final_assemblies/matriline_assembly/contig_500bp_filt/cd-hit_dereplication_output/metaProdigal_output -m diamond -f faa -s prot -si seqnum.txt -o /prepost/final_assemblies/matriline_assembly/contig_500bp_filt/cd-hit_dereplication_output/metaProdigal_output/ncyc_output/ncyc_profiles.txt

Unless the output is being saved somewhere else I am at a loss.

Rob-murphys commented 2 years ago

Would you have any insight as to why there is no output?

qichao1984 commented 2 years ago

I’m not sure. But I would suggest to give absolute path for the sampleinfo file option (-si). It might be due to the script failing to find the sample info file in the current directory.

On Jan 3, 2022, at 8:04 PM, Lamm-a @.**@.>> wrote:

Would you have any insight as to why there is no output?

— Reply to this email directly, view it on GitHubhttps://github.com/qichao1984/NCyc/issues/29#issuecomment-1004046335, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNORGHW3RK5WCVBOCDUBCLUUGGD3ANCNFSM5KJFGQPA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.***>

Rob-murphys commented 2 years ago

Fixed it. I missed off $path when directing the tool to the sample info!

Rob-murphys commented 2 years ago

Is there any way to get the output by contig?

My metagenomes are co assemblies so I would like a by contig breakdown of what genes were found where. Is that possible?

qichao1984 commented 2 years ago

Contigs are not recommended. Use predicted genes/proteins instead.

On Jan 3, 2022, at 10:41 PM, Lamm-a @.**@.>> wrote:

Would it "break" the tool to submit a single gene at a time? That being a single protein sequence such as:

k119_359118_1 # 110 # 1420 # -1 # ID=987811_1;partial=00;start_type=ATG;rbs_motif=TAAA;rbs_spacer=9bp;gc_cont=0.368 MGCISAKEEIHVPSNKTEPTAFNSSTIESDLSSITNQYTFKGVIGHGRFGQVFLADSLEG KQVAIKVISKENFPNCFLTEEVEILSEVDHPNIIKYLKHYESKRYLYVVTEYCAGGDLFQ KIIDQGKFNEDEAVIAMEELLRAINHCHHLGIIHRDLKPENILYTSKRTLKLIDFGISVK SNSTVNEKLAGTAQYIAPEVFVDEIYTTACDVWSLGVIMHVLLSSHLPISGDSLGQIELR VMRYGGPTFKLKVWEKVSEEAKDLLKKMLDPDHKTRITAAEALKHPWFISRTTRAVISYS GIIGALKNYSEFSKDKKSELELVVKHMNEEELDKFRKAFLKLDKEMNGLLTSNGLEEILN GTQEVISGKEMEELIRRVNLNGQAFINYSSFLAALISADKFLTGEKLNPETIAVEWNSKQ NIVYIEENNRHSKIIQ*

— Reply to this email directly, view it on GitHubhttps://github.com/qichao1984/NCyc/issues/29#issuecomment-1004138095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABNORGAQCFIHNSXB7JK63A3UUGYPXANCNFSM5KJFGQPA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.***>

Rob-murphys commented 2 years ago

so the tool would work it i submitted a fasta with just the below in it?

>k119_359118_1 # 110 # 1420 # -1 # ID=987811_1;partial=00;start_type=ATG;rbs_motif=TAAA;rbs_spacer=9bp;gc_cont=0.368
MGCISAKEEIHVPSNKTEPTAFNSSTIESDLSSITNQYTFKGVIGHGRFGQVFLADSLEG
KQVAIKVISKENFPNCFLTEEVEILSEVDHPNIIKYLKHYESKRYLYVVTEYCAGGDLFQ
KIIDQGKFNEDEAVIAMEELLRAINHCHHLGIIHRDLKPENILYTSKRTLKLIDFGISVK
SNSTVNEKLAGTAQYIAPEVFVDEIYTTACDVWSLGVIMHVLLSSHLPISGDSLGQIELR
VMRYGGPTFKLKVWEKVSEEAKDLLKKMLDPDHKTRITAAEALKHPWFISRTTRAVISYS
GIIGALKNYSEFSKDKKSELELVVKHMNEEELDKFRKAFLKLDKEMNGLLTSNGLEEILN
GTQEVISGKEMEELIRRVNLNGQAFINYSSFLAALISADKFLTGEKLNPETIAVEWNSKQ
NIVYIEENNRHSKIIQ*