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

ndex in position 2 exceeds array bounds. Index must not exceed 1. #7

Open
Frybank opened this issue Nov 28, 2023 · 9 comments
Open

Comments

@Frybank
Copy link

Frybank commented Nov 28, 2023

Dear author, I have encountered such problems recently, and I am looking forward to your guidance
Index in position 2 exceeds array bounds. Index must not exceed 1.
Error in PlantClusterFinder>f_extract_results_with_header (line 4306)
Error in PlantClusterFinder (line 976)
MATLAB:badsubscript

@Frybank
Copy link
Author

Frybank commented Nov 28, 2023

GAP output file is not generated properly

@bxuecarnegie
Copy link
Contributor

Line 976 corresponds to reading your gene location file, so there might be an issue with the format of said fild.

@Frybank
Copy link
Author

Frybank commented Nov 28, 2023

Line 976 corresponds to reading your gene location file, so there might be an issue with the format of said fild.
Does this mean a header format problem?
Warning: 'Gene_Name_______Gene_Start__bp__Gene_End__bp____Chromosome_Name_Strand' exceeds MATLAB's maximum name length of 63 characters and has been truncated to 'Gene_Name_______Gene_Start__bp__Gene_End__bp____Chromosome_Name

@bxuecarnegie
Copy link
Contributor

Yes, use tab delimited files for your gene position files. 1 tab between each column.

@Frybank
Copy link
Author

Frybank commented Nov 30, 2023

Yes, use tab delimited files for your gene position files. 1 tab between each column.
I am using awk to grab the generated glof file, the previous test of successful data, also do so,According to the error message, I wonder if there is a problem with the watch head? My watch head is tab-separated
微信图片_20231130145158

@bxuecarnegie
Copy link
Contributor

I think there's definitely something with your header, if the lengths are correct, the script won't crop off "Strand", causing it to error since if cannot find the information. Try manually input the header and do it again.

@Frybank
Copy link
Author

Frybank commented Dec 3, 2023

I think there's definitely something with your header, if the lengths are correct, the script won't crop off "Strand", causing it to error since if cannot find the information. Try manually input the header and do it again.
Dear author, is there any of the following cases that the program runs completely and the output cluster has no data? The rubber and castor data I downloaded from ncbi, according to our process, did not get the output cluster

@Frybank
Copy link
Author

Frybank commented Dec 3, 2023

I think there's definitely something with your header, if the lengths are correct, the script won't crop off "Strand", causing it to error since if cannot find the information. Try manually input the header and do it again.
微信图片_20231203124408
It seems that there is no N classification in the GAPOUT output, is there a problem with the data processing in this case?
1

@bxuecarnegie
Copy link
Contributor

There are Ns in your screenshot. Please check if the scripts are missing N that are in your sequence or that your sequence lack gaps.

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

No branches or pull requests

2 participants