annajbott / viral_track

Pipeline for programme viral track
1 stars 0 forks source link

Some questions about CGAT pipeline STAR index #1

Open zlz6621299 opened 7 months ago

zlz6621299 commented 7 months ago

First and foremost, I would like to extend my sincere gratitude to you and your team for developing and open-sourcing the CGAT pipeline. This tool has been immensely helpful in facilitating our use of the viral-track code, which is crucial for our research work.

However, I have encountered some technical issues during its use, for which I am yet to find a solution. I am running all programs within the Windows Subsystem for Linux (WSL) environment and have established a separate conda environment there to store the required versions of various packages. Unfortunately, I am facing errors when trying to run the pipeline. The initial error is depicted in the attached screenshot, and despite trying multiple approaches, I haven't been able to resolve it.

> # 2024-03-28 17:22:41,986 INFO code location: /usr/local/lib/python3.8/dist-packages/cgatcore/pipeline
# 2024-03-28 17:22:41,987 INFO code version:
# 2024-03-28 17:22:41,989 INFO working directory is: /home/single
# 2024-03-28 17:22:41,990 INFO changing directory to /home/single
# 2024-03-28 17:22:41,992 INFO pipeline has been initialized
# 2024-03-28 17:22:41,992 INFO temporary directory is /tmp/root
Traceback (most recent call last):
  File "pipeline_viral_track.py", line 541, in <module>
    sys.exit(P.main(sys.argv))
  File "/usr/local/lib/python3.8/dist-packages/cgatcore/pipeline/control.py", line 1528, in main
    run_workflow(args)
  File "/usr/local/lib/python3.8/dist-packages/cgatcore/pipeline/control.py", line 1488, in run_workflow
    raise ValueError("unknown pipeline action %s" %
ValueError: unknown pipeline action None

Subsequently, I thought to execute the part of the code that builds the STAR index separately. However, to my dismay, I encountered a "Segmentation fault (core dumped)" error. I am uncertain if this issue is related to not providing a GTF file. At this juncture, I am unable to successfully run the code.

`root@DESKTOP-JHR4GRU:/home/single# STAR --runThreadN 6 \

--runMode genomeGenerate\ --genomeDir /home/single/index\ --genomeFastaFiles Segmentation fault (core dumped)`

annajbott commented 7 months ago

Do you have enough memory on your machine to run STAR? Have you updated the pipeline.yml file to your own specific file paths?

zlz6621299 commented 7 months ago

Dear Dr. James-Bott,

Thank you very much for your response. The issue with the code error may have been due to downloading an earlier version of the STAR program, which might have had some errors. I have now downloaded an updated version of the STAR software, and this supports my continuation with the subsequent steps. However, it's worth noting that I only used the covid-19 and human reference genomes to build an index and perform alignments. In multiple datasets, the count values corresponding to the covid-19 genome are zero. Following this, I used the original data from GSE145926, as mentioned in the article, and performed demultiplexing before alignment, but still, I am unable to get the correct count values. The data I used is SRR11181956, corresponding to a patient with a severe COVID-19 infection, and theoretically, there should be some results.In addition, when I analyzed the raw data of EBV-related GSE158275, I was able to accurately extract EBV fragments, which I found very confusing. I have provided the reference genome I used, as well as the resulting output files, and look forward to your guidance on this matter.

Best regards,

Lizhong


发件人: Anna James-Bott @.> 发送时间: 2024年3月29日 0:25 收件人: annajbott/viral_track @.> 抄送: zlz6621299 @.>; Author @.> 主题: Re: [annajbott/viral_track] Some questions about CGAT pipeline STAR index (Issue #1)

Have you tried running the commands outside of the pipeline framework? Do you have enough memory to run STAR?

― Reply to this email directly, view it on GitHubhttps://github.com/annajbott/viral_track/issues/1#issuecomment-2025621729, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS4BQPPZWA5NUUBOUJR6CUDY2QY75AVCNFSM6AAAAABFMOQHDCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRVGYZDCNZSHE. You are receiving this because you authored the thread.Message ID: @.***>

refseq|AJ507799.2|171823nt|EBV 171823 70206 0 refseq|NC_007605.1|171823nt|EBV 171823 70206 0 refseq|DQ279927.1|172764nt|EBV 172764 56925 0 refseq|NC_009334.1|172764nt|EBV 172764 56925 0 1 248956422 16039235 0 10 133797422 5475960 0 11 135086622 12642018 0 12 133275309 10982005 0 13 114364328 3287713 0 14 107043718 4942008 0 15 101991189 7602804 0 16 90338345 8572743 0 17 83257441 12834625 0 18 80373285 2238357 0 19 58617616 16207721 0 2 242193529 11952864 0 20 64444167 3983772 0 21 46709983 2029654 0 22 50818468 9020658 0 3 198295559 11645947 0 4 190214555 6447665 0 5 181538259 13416424 0 6 170805979 13966860 0 7 159345973 8606238 0 8 145138636 6129393 0 9 138394717 10405167 0 MT 16569 5989443 0 X 156040895 9581083 0 Y 57227415 363070 0 KI270728.1 1872759 4314 0 KI270727.1 448248 6185 0 KI270442.1 392061 3119 0 KI270729.1 280839 134 0 GL000225.1 211173 77 0 KI270743.1 210658 251 0 GL000008.2 209709 241 0 GL000009.2 201709 241 0 KI270747.1 198735 63 0 KI270722.1 194050 80 0 GL000194.1 191469 73 0 KI270742.1 186739 239 0 GL000205.2 185591 10236 0 GL000195.1 182896 10916 0 KI270736.1 181920 22 0 KI270733.1 179772 258578 0 GL000224.1 179693 90 0 GL000219.1 179198 3250 0 KI270719.1 176845 6164 0 GL000216.2 176608 154 0 KI270712.1 176043 890 0 KI270706.1 175055 343 0 KI270725.1 172810 294 0 KI270744.1 168472 208 0 KI270734.1 165050 2999 0 GL000213.1 164239 88 0 GL000220.1 161802 256106 0 KI270715.1 161471 0 0 GL000218.1 161147 63 0 KI270749.1 158759 185 0 KI270741.1 157432 45 0 GL000221.1 155397 223 0 KI270716.1 153799 5 0 KI270731.1 150754 2252 0 KI270751.1 150742 439 0 KI270750.1 148850 49 0 KI270519.1 138126 28 0 GL000214.1 137718 397 0 KI270708.1 127682 44 0 KI270730.1 112551 4 0 KI270438.1 112505 7 0 KI270737.1 103838 64 0 KI270721.1 100316 26040 0 KI270738.1 99375 55 0 KI270748.1 93321 243 0 KI270435.1 92983 76 0 GL000208.1 92689 32 0 KI270538.1 91309 18 0 KI270756.1 79590 0 0 KI270739.1 73985 8 0 KI270757.1 71251 11 0 KI270709.1 66860 9 0 KI270746.1 66486 171 0 KI270753.1 62944 6 0 KI270589.1 44474 10 0 KI270726.1 43739 24 0 KI270735.1 42811 12 0 KI270711.1 42210 361 0 KI270745.1 41891 979 0 KI270714.1 41717 39 0 KI270732.1 41543 16 0 KI270713.1 40745 1042 0 KI270754.1 40191 3 0 KI270710.1 40176 4 0 KI270717.1 40062 898 0 KI270724.1 39555 20 0 KI270720.1 39050 205 0 KI270723.1 38115 27 0 KI270718.1 38054 2819 0 KI270317.1 37690 0 0 KI270740.1 37240 1 0 KI270755.1 36723 11 0 KI270707.1 32032 23 0 KI270579.1 31033 1 0 KI270752.1 27745 0 0 KI270512.1 22689 5 0 KI270322.1 21476 0 0 GL000226.1 15008 0 0 KI270311.1 12399 0 0 KI270366.1 8320 0 0 KI270511.1 8127 0 0 KI270448.1 7992 10 0 KI270521.1 7642 1 0 KI270581.1 7046 1 0 KI270582.1 6504 0 0 KI270515.1 6361 0 0 KI270588.1 6158 0 0 KI270591.1 5796 0 0 KI270522.1 5674 0 0 KI270507.1 5353 0 0 KI270590.1 4685 0 0 KI270584.1 4513 0 0 KI270320.1 4416 0 0 KI270382.1 4215 0 0 KI270468.1 4055 0 0 KI270467.1 3920 1 0 KI270362.1 3530 0 0 KI270517.1 3253 0 0 KI270593.1 3041 0 0 KI270528.1 2983 0 0 KI270587.1 2969 0 0 KI270364.1 2855 0 0 KI270371.1 2805 0 0 KI270333.1 2699 1 0 KI270374.1 2656 0 0 KI270411.1 2646 0 0 KI270414.1 2489 0 0 KI270510.1 2415 0 0 KI270390.1 2387 0 0 KI270375.1 2378 0 0 KI270420.1 2321 0 0 KI270509.1 2318 0 0 KI270315.1 2276 0 0 KI270302.1 2274 0 0 KI270518.1 2186 0 0 KI270530.1 2168 0 0 KI270304.1 2165 0 0 KI270418.1 2145 0 0 KI270424.1 2140 0 0 KI270417.1 2043 0 0 KI270508.1 1951 0 0 KI270303.1 1942 0 0 KI270381.1 1930 0 0 KI270529.1 1899 0 0 KI270425.1 1884 0 0 KI270396.1 1880 0 0 KI270363.1 1803 6 0 KI270386.1 1788 0 0 KI270465.1 1774 0 0 KI270383.1 1750 0 0 KI270384.1 1658 0 0 KI270330.1 1652 0 0 KI270372.1 1650 0 0 KI270548.1 1599 0 0 KI270580.1 1553 1 0 KI270387.1 1537 0 0 KI270391.1 1484 0 0 KI270305.1 1472 0 0 KI270373.1 1451 1 0 KI270422.1 1445 0 0 KI270316.1 1444 0 0 KI270340.1 1428 0 0 KI270338.1 1428 0 0 KI270583.1 1400 0 0 KI270334.1 1368 0 0 KI270429.1 1361 0 0 KI270393.1 1308 0 0 KI270516.1 1300 0 0 KI270389.1 1298 0 0 KI270466.1 1233 0 0 KI270388.1 1216 0 0 KI270544.1 1202 0 0 KI270310.1 1201 0 0 KI270412.1 1179 0 0 KI270395.1 1143 0 0 KI270376.1 1136 0 0 KI270337.1 1121 1 0 KI270335.1 1048 0 0 KI270378.1 1048 0 0 KI270379.1 1045 0 0 KI270329.1 1040 0 0 KI270419.1 1029 0 0 KI270336.1 1026 0 0 KI270312.1 998 0 0 KI270539.1 993 0 0 KI270385.1 990 0 0 KI270423.1 981 0 0 KI270392.1 971 0 0 KI270394.1 970 0 0

NC_045512.2 29903 0 0 1 248956422 38772210 0 10 133797422 12764394 0 11 135086622 26028270 0 12 133275309 18594732 0 13 114364328 7130662 0 14 107043718 10865596 0 15 101991189 12315583 0 16 90338345 14765747 0 17 83257441 18560044 0 18 80373285 4696639 0 19 58617616 18222344 0 2 242193529 25824787 0 20 64444167 7856719 0 21 46709983 5891209 0 22 50818468 6372672 0 3 198295559 18303110 0 4 190214555 12127151 0 5 181538259 20218673 0 6 170805979 21872861 0 7 159345973 17880638 0 8 145138636 10628897 0 9 138394717 12681494 0 MT 16569 15379290 0 X 156040895 11991876 0 Y 57227415 1207240 0 KI270728.1 1872759 7746 0 KI270727.1 448248 3355 0 KI270442.1 392061 6019 0 KI270729.1 280839 505 0 GL000225.1 211173 191 0 KI270743.1 210658 535 0 GL000008.2 209709 649 0 GL000009.2 201709 1481 0 KI270747.1 198735 292 0 KI270722.1 194050 3545 0 GL000194.1 191469 3807 0 KI270742.1 186739 1367 0 GL000205.2 185591 8903 0 GL000195.1 182896 9602 0 KI270736.1 181920 200 0 KI270733.1 179772 1659077 0 GL000224.1 179693 2254 0 GL000219.1 179198 71491 0 KI270719.1 176845 18537 0 GL000216.2 176608 393 0 KI270712.1 176043 2279 0 KI270706.1 175055 790 0 KI270725.1 172810 1340 0 KI270744.1 168472 1489 0 KI270734.1 165050 4799 0 GL000213.1 164239 320 0 GL000220.1 161802 1679822 0 KI270715.1 161471 0 0 GL000218.1 161147 5151 0 KI270749.1 158759 893 0 KI270741.1 157432 3186 0 GL000221.1 155397 1143 0 KI270716.1 153799 18 0 KI270731.1 150754 2436 0 KI270751.1 150742 339 0 KI270750.1 148850 197 0 KI270519.1 138126 183 0 GL000214.1 137718 318 0 KI270708.1 127682 340 0 KI270730.1 112551 31 0 KI270438.1 112505 62 0 KI270737.1 103838 267 0 KI270721.1 100316 11328 0 KI270738.1 99375 87 0 KI270748.1 93321 1738 0 KI270435.1 92983 194 0 GL000208.1 92689 565 0 KI270538.1 91309 51 0 KI270756.1 79590 15 0 KI270739.1 73985 121 0 KI270757.1 71251 146 0 KI270709.1 66860 60 0 KI270746.1 66486 1498 0 KI270753.1 62944 32 0 KI270589.1 44474 162 0 KI270726.1 43739 652 0 KI270735.1 42811 84 0 KI270711.1 42210 6858 0 KI270745.1 41891 12641 0 KI270714.1 41717 248 0 KI270732.1 41543 69 0 KI270713.1 40745 8942 0 KI270754.1 40191 17 0 KI270710.1 40176 139 0 KI270717.1 40062 5203 0 KI270724.1 39555 102 0 KI270720.1 39050 2245 0 KI270723.1 38115 146 0 KI270718.1 38054 21753 0 KI270317.1 37690 0 0 KI270740.1 37240 29 0 KI270755.1 36723 59 0 KI270707.1 32032 210 0 KI270579.1 31033 11 0 KI270752.1 27745 36 0 KI270512.1 22689 46 0 KI270322.1 21476 0 0 GL000226.1 15008 0 0 KI270311.1 12399 0 0 KI270366.1 8320 2 0 KI270511.1 8127 0 0 KI270448.1 7992 52 0 KI270521.1 7642 4 0 KI270581.1 7046 20 0 KI270582.1 6504 3 0 KI270515.1 6361 0 0 KI270588.1 6158 0 0 KI270591.1 5796 0 0 KI270522.1 5674 0 0 KI270507.1 5353 0 0 KI270590.1 4685 1 0 KI270584.1 4513 0 0 KI270320.1 4416 0 0 KI270382.1 4215 0 0 KI270468.1 4055 0 0 KI270467.1 3920 4 0 KI270362.1 3530 1 0 KI270517.1 3253 0 0 KI270593.1 3041 0 0 KI270528.1 2983 0 0 KI270587.1 2969 0 0 KI270364.1 2855 0 0 KI270371.1 2805 0 0 KI270333.1 2699 0 0 KI270374.1 2656 1 0 KI270411.1 2646 0 0 KI270414.1 2489 1 0 KI270510.1 2415 0 0 KI270390.1 2387 0 0 KI270375.1 2378 0 0 KI270420.1 2321 0 0 KI270509.1 2318 0 0 KI270315.1 2276 0 0 KI270302.1 2274 0 0 KI270518.1 2186 1 0 KI270530.1 2168 0 0 KI270304.1 2165 0 0 KI270418.1 2145 0 0 KI270424.1 2140 0 0 KI270417.1 2043 0 0 KI270508.1 1951 3 0 KI270303.1 1942 0 0 KI270381.1 1930 0 0 KI270529.1 1899 0 0 KI270425.1 1884 0 0 KI270396.1 1880 0 0 KI270363.1 1803 41 0 KI270386.1 1788 0 0 KI270465.1 1774 0 0 KI270383.1 1750 0 0 KI270384.1 1658 0 0 KI270330.1 1652 15 0 KI270372.1 1650 1 0 KI270548.1 1599 0 0 KI270580.1 1553 5 0 KI270387.1 1537 0 0 KI270391.1 1484 0 0 KI270305.1 1472 0 0 KI270373.1 1451 2 0 KI270422.1 1445 0 0 KI270316.1 1444 0 0 KI270340.1 1428 2 0 KI270338.1 1428 0 0 KI270583.1 1400 0 0 KI270334.1 1368 0 0 KI270429.1 1361 0 0 KI270393.1 1308 0 0 KI270516.1 1300 0 0 KI270389.1 1298 0 0 KI270466.1 1233 0 0 KI270388.1 1216 0 0 KI270544.1 1202 0 0 KI270310.1 1201 3 0 KI270412.1 1179 0 0 KI270395.1 1143 0 0 KI270376.1 1136 1 0 KI270337.1 1121 0 0 KI270335.1 1048 0 0 KI270378.1 1048 0 0 KI270379.1 1045 0 0 KI270329.1 1040 0 0 KI270419.1 1029 0 0 KI270336.1 1026 0 0 KI270312.1 998 0 0 KI270539.1 993 0 0 KI270385.1 990 0 0 KI270423.1 981 0 0 KI270392.1 971 0 0 KI270394.1 970 0 0